Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 3 years ago

NFT Preview Card

voffee•70
@voffee
A solution to the NFT preview card component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


I found it very difficult to build the overlay for the main image: hover state and had to resort to watching a youtube video. I am also unsure about how to use center the card, when I initially put the flex settings in the .container class the layout went wonky , i.e. the page color was not displayed at all, the .container class somehow stretched to fill the entire space on the screen.

It only worked when I put flex settings targetting the body, then everything went well.

I feel like I need more help on how flex works (I will watch youtube videos and make knockoffs of this project to learn) and also learn and understand how position: absolute and relative work.

Please give me feedback on this website, thanks!

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on voffee's solution.

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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License