Design comparison
SolutionDesign
Solution retrospective
please help! how can i do transparency on image like at template design? my way:
- add opacity on div - 0.65;
- add opacity on img - 0.45; but it non like on template!!
Community feedback
- @imadvvPosted over 1 year ago
Greetings Igor! Congratulations on completing this challenge! 👏👏👏
Have you considered using
mix-blend-mode
instead of opacity?you can try something like this,
.card__picture img { width: 100%; height: 100%; object-fit: cover; /* opacity: 0.45; */ mix-blend-mode: multiply; }
Overall, your attempt was really good. Keep up the great work!
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