CSS - resolution

resolution is a CSS media feature whose value is the pixel density of the output device, as a CSS <resolution>.

Description  

resolution is a CSS media feature whose value is the pixel density of the output device, as a CSS <resolution>.

Browser Compatibility  

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support ? ? ? ? ?
Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support ? ? ? ? ?

 

Specifications  

Specification Status Comment
Media Queries
The definition of 'resolution' in that specification.
Recommendation Initial definition.

License

© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-us/docs/web/css/@media/resolution

CSS NeedsBrowserCompatibility NeedsExample Reference Référence