Design comparison
SolutionDesign
Solution retrospective
How to give color to background img?
Community feedback
- @hitmorecodePosted about 1 year ago
Nice well done. See below how you can fix the overlay
.right{ background:url(img.jpg) no-repeat; height:446px; width:560px; position: relative; } .right::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: hsl(277, 64%, 61%); mix-blend-mode: multiply; opacity: 0.8; }
When going to smaller screen the image is at the bottom, you need to do a flex direction reverse.
Marked as helpful0@sumaira10041Posted about 1 year agoThanks.....You always give me too much information@hitmorecode
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord