Web features explorer

Interaction media queries

Widely available
Tags: css Groups: CSS > Media queries

The pointer, any-pointer, hover, and any-hover CSS media queries set styles based on the presence of pointing devices and their ability to hover over elements. For example, most smartphones match the (hover: none) and (pointer: coarse) media query. To learn more, see any-hover, any-pointer, hover, pointer at MDN.

Compatibility (view on caniuse.com)