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 design: Stats card using flexbox

Tóki 70

@Rohtikot

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


I found the color overlay on the picture a bit difficult to get correct. I don't know if the background with a linear gradient is the way to go. I'm a bit unsure of the positioning of the image on the mobile part. On the desktop part of it, the image aligned naturally to the right, because of its position in the HTML file. Is there a way to get the image to show on top without making its position absolute?

Community feedback

@stephenikuomola

Posted

You can get the colour overlay on the image, by doing this; `img{ filter:opacity(75%); mix-blend-mode:multiply; }

1

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