Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted 7 months ago

NFT Preview project, purely CSS

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

Solution retrospective


What are you most proud of, and what would you do differently next time?

For a simple project the only thing slightly proud of is that did the switching of the transparent overlay on or off with just CSS instead of needing to use JS to provide the interactivity.

Done via use of the hover swapping the z-index of the two so the absolute overlay stays higher only as long as it is being hovered.

What specific areas of your project would you like help with?

Only thing that gave me issue is proportions trying to make it match the image, while every other part seems about quite close it seems like the card itself just ends up to small to match the image like the content is not enough to fill it if I expand it to match with the other elements properly sized.

Although I suspect that may be an issue of perspective in that I try to have it fill same space as in the image and if the image is zoomed or cropped that would be pointless and inaccurate but it only thing I got to work off of.

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 Crystalis89'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

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