Submitted over 1 year ago
nft-preview-card-component
@YuriMascarenhasLourenco
Design comparison
SolutionDesign
Solution retrospective
how do i put the hover on the image? how can i make my code cleaner? did i use the best practices at this project? Every advice is welcome!
Community feedback
- @cisneConCorbataPosted over 1 year ago
Hi! To add hover, just take your element's class and start a new declaration in you stylesheet:
.image:hover { background: grey; cursor: pointer; }
Those values are just an example, you can add whatever you like and it will show when you hover the element, the important part is the :hover after the element
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