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

My solution using HTML and CSS

Desktop design screenshot for the NFT preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


One more time, without Figma, trying to reply the layout the best way was possible.

Community feedback

hitmorecode 6,230

@hitmorecode

Posted

Congratulations well done. Just a few thing you can fix.

  • The image overlay is a bit bigger than the image in the height
}.l-main{
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
/*   width: 100vw; */ /* you don't need this */
  min-height: 100vh; /* use min height instead, when applying height you are fixing the height and with min height the will grow with the content on the page */
}
.l-container{
/*   padding: 0 16px; */ /* this will create a overflow when screen size is 376px. you don't need this */
}
``

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