Design comparison
SolutionDesign
Solution retrospective
idk why but the transition is not getting applied to the equillibrium image.
Community feedback
- @Fernando0654Posted almost 3 years ago
The reason of your trouble is that
top
class is over the img, which has the hover state. So, it's not hovering because when you put the cursor over the img, actually you're hovering thetop
div and not theimg
Hope this can help you. Also, use a
main
tag to wrap the main content of the page. This will fix your accesibility issues1
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