Interaction media queries
Widely availableThe 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.