Design comparison
SolutionDesign
Solution retrospective
how did you place the color on the background?
Community feedback
- @fruizoteroPosted about 2 years ago
You can achieve this through the "mix-blend-mode:multiply" property that you apply to your image inside the picture. Remove the opacity from the next class;
.card_header_pictures { border-radius: 15px 15px 0px 0px 0px; background-colour: hsl(277, 100%, 67%); opacity: 0.5; } .card_header_picture { width: 100%; height: 100%; border-radius: 15px 15px 0px 0px 0px; opacity: 0.7; 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