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

Responsive- NFT Preview Card Component

@PriyeshB2000

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

Ekure Edem 260

@astraldev

Posted

It seems you forgot to center the card vertically.

Also, the size (width) of the card is kinda static and doesn't change on different screens.

Also, the ntf image is supposed to be rounded... The best way to do it is to use a div as a container, set the border radius and set overflow to hidden.

e.g

HTML

...
<div class="container">
  <img src="..." alt="..." />
</div>
...

CSS

.container {
  /*Other styles*/
  border: 0 solid transparent;
  border radius: 1.5rem;
  overflow: hidden;
}
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