Web features explorer

Interaction media queries

Widely available since 2021-06-11
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.

Learning resources on MDN

Browser support (view on caniuse.com)