MDN wants to learn about developers like you:

any-hover is a CSS media feature that can be used to check whether any available input mechanism allows the user to hover over elements.

Enumerated values

Value Meaning
none One or more available input mechanism(s) cannot hover (or there are no pointing input mechanisms)
hover One or more available input mechanism(s) can hover over elements with ease


Specification Status Comment
Media Queries Level 4
The definition of 'any-hover' in that specification.
Working Draft Initial definition

Browser compatibility

Feature Chrome Firefox (Gecko) Edge Internet Explorer Opera Safari
Basic support 41 No support[2] 20 or earlier (12) Nightly build 28 9 [1]
Feature Android Chrome for Andorid Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support No support 50 No support[2] 36 ? 9.2

[1]: Implemented in WebKit bug #134822.

[2]: bug 1035774 – Implement Interaction Media Features

See Also

Document Tags and Contributors

 Last updated by: mfluehr,