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

Practica 2 con tailwindcss

Delia 30

@Almaddc16

Desktop design screenshot for the Blog preview card coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

Wall_ 30

@wall-69

Posted

The card is not centered, you can do this with this simple trick I use: I set body to display: flex; flex-direction: column; min-height: 100vh; and then I use <main> tag to which I apply flex: 1 0 0% in which I put my card. Also the size of the card is a lot smaller than the design. I would recommend using the figma design when you can as it gives you the possibility to check all sizes.

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