"Get interesting insights using this page and grow"
Design comparison
Solution retrospective
This is my message to everyone I have completed the challenge but I was not able to add the accent color to the image so please help me in this and check the overall code and suggest to me something I have done wrong or did in the wrong way Thank-you
Community feedback
- @nakoyawilsonPosted almost 3 years ago
You can try using the mix-blend-mode css property to add the accent color to the image using the following steps:
- Change the background color of the containing div from blanchedalmond to the accent color:
.mid3 { ... background-color: hsl(277, 64%, 61%); ... }
- Use mix-blend-mode and opacity for the image itself:
.img { ... mix-blend-mode: multiply; opacity: 0.75; }
Marked as helpful0@BaqtiyarPosted almost 3 years ago@nakoyawilson Thank-you so much for the reply and I have used the CSS property that you have mentioned and I found it to be very helpful you can't imagine how many CSS properties I have tried to achieve that, so thankyou very much.
0@nakoyawilsonPosted almost 3 years ago@Baqtiyar You're welcome! Glad I could be helpful.
0 - Change the background color of the containing div from blanchedalmond to the accent color:
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