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

scss, position

@giselida

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

@samimkabiru

Posted

Hello @giselida, your solution looks great but let me give an extra tip that might help. The image in your NFT preview component looks kind of squashed compared to the reference material. A solution to this would be to set the object-fit property to cover. With this, the image will be set back to it's normal size but some parts of the image will be cropped out if a height property was explicitly set. I hope this helps

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