W3cubDocs

/CSS

@media.any-pointer

any-pointer is a CSS media feature that can be used to check whether any available input mechanism is a pointing device, and if so, how accurate it is.

Enumerated values

Value Meaning
none The device does not include any pointing device.
coarse At least one input mechanism of the device includes a pointing device of limited accuracy.
fine At least one input mechanism of the device includes an accurate pointing device.

Specifications

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

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 bug #134822.

[2]: bug 1035774 – Implement Interaction Media Features

See also

© 2005–2017 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/CSS/@media/any-pointer