Design comparison
SolutionDesign
Solution retrospective
Hello! Please tell me what you think. If it is possible, please tell me how you would add the background color for the image. I have no idea and could not find any information about it.
Community feedback
- @Mohammedabbas7Posted over 2 years ago
Congratulation for complete the challenge. I don't have much experience but I think you can use pseudo element (::before, ::after). for example you can add this code blew, make sure to add
.image { position: relative;}
.image::after { content: ''; width: 100%; height: 100%; background-color: hsl(277, 64%, 61%); position: absolute; inset: 0; mix-blend-mode: multiply; }
Marked as helpful0
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