Design comparison
SolutionDesign
Solution retrospective
This is my solution for the NFT Preview Card Component.
It was overall easy and enjoyable building this project, however I faced a difficulty regarding view-icon
:
- I have tried out various solutions on how to make the icon appear in the
.view-icon
class when we hover on the.nft-image
<div>
. The main one was adjusting thez-index
to a higher value than the one of.nft-image
when the latter one is hovered upon. I have also made the icon visible viavisibility: visible;
. However, the image remains hidden every time, even if I change the position ofz-index
to the:hover
selector. I would really appreciate any suggestions for solving this issue as it has bugged me for a while.
I would appreciate your feedback and would like to receive your comments and perspectives regarding the project. Thanks a lot!
Community feedback
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