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

#bootstrap
audrieā€¢ 40

@audriecheong

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


How to change the color of the icon while it's on the hover state? Feedback welcome.

Community feedback

AgilitiesZā€¢ 280

@phichayut-pak

Posted

Hi, I've also completed this one. For the question you asked, you might wanna make use of positions (relative and absolute). If you're fine with studying new things, I would suggest TailwindCSS, it comes up with easy things. We can simply use group, and toggle on/off with group-hover.

However, you've done a great job! Well done! Keep it up šŸ”„šŸ”„

Marked as helpful

1
mohitboyidapuā€¢ 30

@mohitboyidapu

Posted

Its very good, I've completed the same challenge today. Layout looks on point. keep it up buddy!

Marked as helpful

0
akhademikā€¢ 420

@akhademik

Posted

About your question you can do like this:

div. Normal

div:hover 1 put image 2 put background-color 3 mix-blend-mode: and chose whatever style you like. It like putting an overlay to the icon/image

Or

div normal div::before icon div::after background color and set opacity so you can see the icon through

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