CSS hover only where supported

Andy Bell

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