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 stat preview Card using HTML and CSS

@ezeaniiandrew

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


why is there extra margin on the mobile version? how do i make it fully responsive for the mobile version?

Community feedback

Kelvin 915

@Kl3va

Posted

By using relative units. Use px when you want to style shadows/borders. Also, you dont need to set display to flex on the body since your components or wrapped into a main container.

0

@ezeaniiandrew

Posted

@Kl3va Thank you

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