Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Responsive component page using grid and flex box

Kenny Ng 400

@kennylun123

Desktop design screenshot for the Stats preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

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;.

Community feedback

Please log in to post a comment

Log in with GitHub
Discord logo

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