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

@NIk22517

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

Emmiecodes 100

@Emmiecodes

Posted

Hi Nikhil, I liked how you personalized your hover-effect and saw you had the same problem I had with the overflow. Try using the line-height property with a value of 0 on your container-img. It is also worth trying to change the height values on the body and html elements. I am not entirely confident with that myself. Editing this comment because I gave not helpful advise after I checked in my browsers inspect mode about the height on the HTML/body. I hope the oveflow options helps you though.

Marked as helpful

1

@NIk22517

Posted

@Emmiecodes Thank you for the positive feedback! It means a lot to know you've noticed and the overflow issue was resolved using line-height 0

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