@Finney06Submitted over 2 years ago
I'm having difficulty trying to do the active state for the image on the NFT preview card component. Feedbacks on it will be appreciated.
I'm having difficulty trying to do the active state for the image on the NFT preview card component. Feedbacks on it will be appreciated.
One solution I saw that I think works well for the image is to first set the image's position to relative. Then, you can put the eye image afterwards and give it a position of absolute so that it collapses on top of the original image. Set the eye image's opacity to 0, and then set a transition to change the opacity to 1 on the image's :hover state.