Design comparison
Community feedback
- @correlucasPosted about 2 years ago
👾Hello Alan, congratulations for your new solution!
🎨 Here’s some tips to improve your component design:
1.To make your hero image have the same look and the color purple overlay, you need to use
mix-blend-mode
using themultiply
one.The mix-blend-mode CSS property sites how an element's content should blend with the content of the element's parent and the element's background.Here’s how you can add this to your
img
selector:img { mix-blend-mode: multiply; opacity: 84%;}
Here's a good article explaining these effects with mix-blend-mode:
https://developer.mozilla.org/en-US/docs/Web/CSS/mix-blend-mode
2.You’ve used
<div>
to wrap the card container, in this case you need to use<main>
since this is the main block of this page.✌️ I hope this helps you and happy coding!
Marked as helpful0@AlanSalasPosted about 2 years ago@correlucas Hi Lucas thank you for your feedback, I was searching that property but i didnt found haha, but i tried with filters and almost get the lock and feel, but thank you for your comment my friend.
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