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

3-column preview card component Using Flexbox

osama 270

@osamanazakat

Desktop design screenshot for the 3-column preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Any suggestions on how I can improve are welcome!

Community feedback

@KarthikRaja1388

Posted

Your solution looks great.

As you're already using flex, to center the container please set body as flex as below:

body{ display flex; min-height:100vh; justify-content: center; align-items:center; } attribution div may collapse when you set body to flex, so use flex-direction as column.

Marked as helpful

0

osama 270

@osamanazakat

Posted

@KarthikRaja1388 Thank you for your suggestion Broth 😍

0
imad 3,310

@imadbg01

Posted

This comment was deleted

0

osama 270

@osamanazakat

Posted

@imadbg01 Thank you for your suggestion Brother 😍

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