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 preview card component using pure CSS

#accessibility
Omar A. 100

@i-5iici

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

Travolgi 🍕 31,460

@denielden

Posted

Hi Omar, good job!

Try using Flexbox in the body, it can help you better center elements on the page: give the flexbox and height properties to the body and remove all margin from the .container class.

Note: Flexbox aligns to the size of the parent container.

You can use the vh measurement for the height... Viewport Height handles the sizing of an element in relation to the height of the browser window.

Don't forget to look at the report issues.

I hope that helps!

Marked as helpful

1

Omar A. 100

@i-5iici

Posted

@denielden Thank you Daniel for your feedback! I will try it next time for sure 👍

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