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

Product preview card component

@Subhsree

Desktop design screenshot for the Product preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


help me if you find any error in the code .i want to improve my code .help me

Community feedback

@Lartzmanuel

Posted

body {
display:flex;
flex-direction: column;
Justify-content: center;
Align-items:center;
min-height: 100vh;
}

When the flex direction is set to column it will bring the info beside your card to the bottom just as you would want. With the min-height you can choose to use 100dvh.

Hope you find this useful👍

Marked as helpful

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