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

stats card

@Hamdi-git

Desktop design screenshot for the Stats preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

Hassia Issah 50,650

@Hassiai

Posted

Use the colors that were given in the styleguide.md found in the zip folder you downloaded.

Use rem or em as unit for the padding, margin, width and preferably rem for the font-size for more on CSS units click here

To center .card on the page using flexbox, replace the height in .container with min-height:100vh.

For the color of the image, there is no need for position: relative in .card-image, add Background-blend-mode: multiply and opacity: 0.8 to .card-image

Hope am helpful.

Well done for completing this challenge. HAPPY CODING

0

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