Design comparison
Community feedback
- @correlucasPosted about 2 years ago
๐พHello Santiago, Congratulations on completing this challenge!
I liked a lots the work you did here, your solution its really responsive and the hover effects are amazing, I've one advice about these effects on mobile:
When you add some
hover effects
you've to think that for the mobile version there's an issue that the elements with hover getstuck
on the active state of the hover until you click on something else. Something you can do to avoid this problem on mobile, the stick hover, is to add a media query saying that you want hover effects only on devices that are nottouch
. So you can use:@media (hover: hover) { {ADD HERE ALL THE CLASSES WITH HOVER EFFECTS TO DISABLE IT ON MOBILE} }
โ๏ธ I hope this helps you and happy coding!
1@AleromsPosted about 2 years ago@correlucas would the
@media(hover: hover)
go inside my@media(max-width...)
? I am not sure how to fix this issue. Do I remove the class?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