Stats preview card component, responsive

Solution retrospective
I managed to finish this challange, but it's not prefect. I had troubles with setting picture properly to be responsive, and also to mantain aspect ratio.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @AdrianoEscarabote
Hello Dadic, how are you? I truly loved your project's outcome, however I have some advice that I hope you'll find useful:
To get closer to the photo overlay effect, you'd better use mix-blend-mode. All you need is the div under the image with this background color: hsl(277, 64%, 61%); and position mix-blend-mode: multiply and opacity: 80% on the image or apply image to activate the overlay by blending the image with the div's color. See the code below:
img { mix-blend mode: multiply; opacity: 80%; }
You can read this content which is explaining these effects with mix-blend-mode: click here
Avoid using more than one
h1
per page, as it means the main title!The remainder is excellent.
I hope it's useful. 👍
Marked as helpful
Join 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