DEV Community

Alexander Gorbunov
Alexander Gorbunov

Posted on • Updated on

CSS Sticky Hover Solution

Namaste to everybody!πŸ™

I'd like to share with you a small tip that is important for me today. The issue is when you use mobile devices to run through your web page, you see that tapping on a button hover effect remains "sticky". It's rather annoying...

The solution is here https://css-tricks.com/solving-sticky-hover-states-with-media-hover-hover/

And it really has helped!😼 Moreover, you can do it with only css without any js.

Happiness to everybody!

P.S. I'm always open to discussion on interesting programming themes and not only connected to cs)

Top comments (0)