Media Queries: resolution featureExternal Link

BaselineWidely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since March 2025.

Allows 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
Edge
Firefox
Chrome
Safari
Safari iOS
Opera Mini
Chrome Android
Android Browser
Samsung Internet
Globals: 97.57% of all users can use this feature, 97% fully supported, 0.57% partially supported
✓Supported
✗Not supported
Partial support
Prefixed