Design comparison
Solution retrospective
I'm most proud of how accurate the solution is to the design. If I would do this challenge again, I would try another framework.
What challenges did you encounter, and how did you overcome them?I wanted to hover the mouse over the card but transform the inner image element at the same time. Since I am using Tailwind CSS, I was not aware of how to do this.
It turns out that the Tailwind CSS documentation points to the 'group' class. By applying a 'group' class on the parent card element, I could also apply a 'group-hover:scale(125)' class on the inner image. This means that when hovering anywhere over the card, the image can be transformed.
What specific areas of your project would you like help with?I am open to any constructive feedback.
Community feedback
- @MesrouaDjamelPosted 4 months ago
great job the animated card is fantastic , you've cut the card into reusable components - that's very professional work.
1@DarrickFauvelPosted 4 months agoThank you, @MesrouaDjamel!
I try to do my best recreating the design as accurately as possible, and add a little fun with the hover effect. I imagine that in the real world, this component would be reusable. So, that's why I break it up into smaller reusable components.
Thanks again for noticing. 😊
0
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