Submitted about 2 years ago
Responsive Card Component using Flexbox
@ssembatya-dennis
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-engPosted about 2 years ago
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 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