How to set both linear-gradient and background image in a specific div using styles in React
- 阅读更多 关于 How to set both linear-gradient and background image in a specific div using styles in React
问题 I need to set linear-gradient as well as the background image on a specific div using styles in Reactsjs I am able to get either of them, I mean to say either image or linear-gradient but not both at the same time The image is going to overlap with the linear gradient I tried below solution : leftAdArea: { width: 380, height: 580, background: 'url(https://www.mahealthcare.com/assets/images/clinic/NursePhone.jpg) no-repeat , linear-gradient(135deg, #50A684 30%, #115E67 90%)', } Suggest me to