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

Responsive Card Component using Flexbox

@ssembatya-dennis

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 can I animate the card's image on hover to scale down and up smoothly while maintaining the hover effect of the image that appears when you hover the card's image initially.

Community feedback

@jonathon-eng

Posted

I can't say for sure, but I think that just putting "scale('some size')" inside of your card-img:hover selector in your CSS file might achieve what you're looking for. Afterwards, you can also insert a variety of other styles to adjust the speed and animation of it.

1

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