CSS hover only where supported

This is super handy. You can use @media to detect hover support, so then, your hover states won’t get “stuck” on touch/mobile.

Big props to @NickColley for sharing this.

https://developer.mozilla.org/en-US/docs/Web/CSS/@media/hover#Example

Hi 👋
I’m Andy, a freelance web designer

I’m not currently booking new projects, but you can support my work by buying “Every Layout”.

Buy Every Layout