Interaction media features
Use with caution with polyfillcssThe Media Queries Level 4 Working Draft adds new media query features for checking whether the user's input mechanisms support hovering (hover and any-hover) and how accurate they are (pointer and any-pointer).
- Verdict
- Use with caution
- Category
- CSS features
- Browser support
- Can I Use
- Works in
- all modern browsers
Should you use Interaction media features in 2026?
The usage of polyfills is strongly recommended due to the current level of browser support (Edge, Chrome 41+, Opera 28+, and Safari 9 at the time of writing).
mq4-hover-shim provides support in non-bleeding-edge browsers for detecting the primary pointer's ability to hover or not (i.e. the (hover: hover) media query).
Please