Submitted over 1 year ago
Building NFT card component using HTML CSS Flexbox
@maxgaretdev
Design comparison
SolutionDesign
Solution retrospective
Struggling with 2 problems need some Advice, Welcome all feedback. -How can I make the icon-view to show up in the front when pointer are pointing at image-equilibrium ? -Could you find the error at my icon-avatar why I point at it and it change the filter, how can I make it none changing when I point at it?
Please enlighten me, Thank you.
Community feedback
- @JezzeXPosted over 1 year ago
For the icon to show on hover, you could create a div with the icon in it and give it a position: absolute, in the same container as the image, and then give that div an opacity of 0, and then on hover, an opacity of 0.5
Marked as helpful0
Please log in to post a comment
Log in with GitHubJoin 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