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

M.A.B 80

@MohamedAbdelBAQIMo

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

@weldu0

Posted

👋 Hey, @MohamedAbdelBAQIMo! I have a few suggestions for your solution:

Remove the margin from .container and add flexbox to the body. It should look like this:

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #d5e1ef;
  flex-direction: column; 
  margin: 0; /* This removes the overflow */
}

Also, try reducing the border-radius; 50px seems to be too much.

Great work! 👏

I hope you find this helpful. 😊

Marked as helpful

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