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

Crizalid 30

@crizalid12

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


Difficulties:

  • I couldn't find a proper way to hover on both image and icon view.

Community feedback

Benjamin 130

@Benjoow

Posted

Hello crizalid !

For your hover, you can set your after pseudo element with opacity to 0 and add your icon view with "content: url()". I personnaly recommand to set display of your pseudo element in flex and align your icon view with this. It's more simpler than your solution. For your hover element, you set the opacity to 1 AND your background with another system color like rgba or hsla, like this : background: rgba(color num, color num, color num, transparency)

0

Crizalid 30

@crizalid12

Posted

@Benjoow Thank you sir for your feedback, I really appreciate it I'll do what you highlighted <3

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