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 Card Challenge

gmqrk247 90

@gmqrk247

Desktop design screenshot for the NFT preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


The creation of this one was relatively easy. However, my solution for the image hover effect is somewhat questionable in my opinion. I didn't want to add any plus element to html, so I used ::after selector with background-color and background-image to bring in both. But with background-color came the issue where I just could not use my custom variable with lowered opacity. I googled for a solution and I found that wrapping it in rgba should work, but it didn't. I was forced to add a different color with lowered opacity / alpha value. What other solutions could I have used?

Community feedback

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