Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

any-hover

この記事は技術レビューを必要としています。ぜひご協力ください

この記事はまだボランティアによって 日本語 に翻訳されていません。ぜひ MDN に参加して翻訳を手伝ってください!

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)
on-demand One or more available input mechanism(s) can hover, but not easily (e.g., many mobile devices emulate hovering when the user performs a long tap)
hover One or more available input mechanism(s) can hover over elements with ease

Specifications

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) Internet Explorer Opera Safari
Basic support 41.0 No support[2] No support 28 9.1 [1]
Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support 50 No support[2] No support 36 9.3

[1] Implemented in WebKit Nightly. See Bug 134822.

[2]: bug 1035774 – Implement Interaction Media Features

See Also

ドキュメントのタグと貢献者

 最終更新者: Druzion,