Media Queries: resolution feature
- RECAllows a media query to be set based on the device pixels used per CSS unit. While the standard uses min
/max-resolution
for this, some browsers support the older non-standard device-pixel-ratio
media query.
IE
- 5.5 - 8: Not supported
- 9 - 10: Partial support
- 11: Partial support
Edge
- 12 - 102: Supported
- 103: Supported
Firefox
- 2 - 3: Not supported
- 3.5 - 15: Partial support
- 16 - 101: Supported
- 102: Supported
- 103 - 104: Supported
Chrome
- 4 - 28: Partial support
- 29 - 102: Supported
- 103: Supported
- 104 - 106: Supported
Safari
- 3.1 - 3.2: Not supported
- 4 - 15.4: Partial support
- 15.5: Partial support
- 16.0: Partial support
- TP: Supported
Opera
- 9: Not supported
- 9.5 - 12: Partial support
- 12.1 - 85: Supported
- 86: Supported
- 87: Supported
Safari on iOS
- 3.2: Support unknown
- 4 - 15.4: Partial support
- 15.5: Partial support
- 16.0: Partial support
Opera Mini
- all: Partial support
Android Browser
- 2.1 - 2.2: Support unknown
- 2.3 - 4.3: Partial support
- 4.4 - 4.4.4: Supported
- 103: Supported
Opera Mobile
- 10 - 12: Partial support
- 12.1: Supported
- 64: Supported
Chrome for Android
- 103: Supported
Firefox for Android
- 101: Supported
UC Browser for Android
- 12.12: Supported
Samsung Internet
- 4 - 16.0: Supported
- 17.0: Supported
QQ Browser
- 10.4: Supported
Baidu Browser
- 7.12: Supported
KaiOS Browser
- 2.5: Supported