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

NFT car component with HTML y SASS

@Ibanezense

Desktop design screenshot for the NFT preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

Hassia Issah 50,650

@Hassiai

Posted

To center .card on the page, add min-height:100vh; display: flex; align-items: center: justify-content: center; or min-height:100vh; display: grid place-items: center to the body.

Use rem or em as unit for the padding, margin, width and preferably rem for the font-size for more on CSS units watch this https://youtu.be/N5wpD9Ov_To

Hope am helpful.

Well done for completing this challenge. HAPPY CODING

Marked as helpful

0

@Ibanezense

Posted

@Hassiai

Thank you very much for the comments, now I am following the advice you gave me, the video is very good, I became a youtuber subscriber

1
GGS 260

@Guilherme-Goncalves-de-Souza

Posted

Hello @Ibanezense!!!

Your project was very good, congratulations.

It is also worth mentioning that its semantics are great and easy to read, continue like this!!!

You can leave your project in the center by doing the following, with Flexbox:

body{
    height: 100vh;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

This is a great site to study about Flexbox, it's worth it!!!

Marked as helpful

0

@Ibanezense

Posted

@Guilherme-Goncalves-de-Souza

Thank you very much for the comments, now I am following the advice you gave me

1

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