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

@YuriMascarenhasLourenco

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 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

@cisneConCorbata

Posted

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 helpful

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