Responsive component page using grid and flex box

Solution retrospective
Hi everyone, this is my solution of "stats-preview-card-component".
- I learned how to use
mix-blend-model: multiply;
property to mix the background colour and image. I was thinking to add an overlay <div> on top with transparent colour. But I found this is a lot more simpler than that. - I also noticed that flexbox will shrink the image for the text content if I didn't set the
flex-shrink: 0;
.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Kenny Ng's solution.
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