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 preview card ❤ HTML, CSS-flex

@szakidani23

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

@devaramnye

Posted

Hello,

you can center your project by:

body {
  min-height: 100vh;
  display: flex;
  justify-content: center  * To center the items of the flex container horizontally
  align-items: center * To center the items of the flex container vertically
}

Marked as helpful

0

@szakidani23

Posted

@devaramnye

Thanks for your help! :) I will definitely use it!

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