Media Queries: resolution feature

- REC

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

  1. 5.5 - 8: Not supported
  2. 9 - 10: Partial support
  3. 11: Partial support

Edge

  1. 12 - 79: Supported
  2. 80: Supported

Firefox

  1. 2 - 3: Not supported
  2. 3.5 - 15: Partial support
  3. 16 - 72: Supported
  4. 73: Supported
  5. 74 - 75: Supported

Chrome

  1. 4 - 28: Partial support
  2. 29 - 79: Supported
  3. 80: Supported
  4. 81 - 83: Supported

Safari

  1. 3.1 - 3.2: Not supported
  2. 4 - 12.1: Partial support
  3. 13: Partial support
  4. TP: Partial support

Opera

  1. 9: Not supported
  2. 9.5 - 12: Partial support
  3. 12.1 - 65: Supported
  4. 66: Supported

iOS Safari

  1. 3.2: Support unknown
  2. 4 - 13.1: Partial support
  3. 13.2: Partial support
  4. 13.3: Partial support

Opera Mini

  1. all: Partial support

Android Browser

  1. 2.1 - 2.2: Support unknown
  2. 2.3 - 4.3: Partial support
  3. 4.4 - 4.4.4: Supported
  4. 80: Supported

Blackberry Browser

  1. 7: Partial support
  2. 10: Partial support

Opera Mobile

  1. 10 - 12: Partial support
  2. 12.1: Supported
  3. 46: Supported

Chrome for Android

  1. 80: Supported

Firefox for Android

  1. 68: Supported

IE Mobile

  1. 10: Partial support
  2. 11: Partial support

UC Browser for Android

  1. 12.12: Supported

Samsung Internet

  1. 4 - 9.2: Supported
  2. 10.1: Supported

QQ Browser

  1. 1.2: Supported

Baidu Browser

  1. 7.12: Supported

KaiOS Browser

  1. 2.5: Supported
Resources:
WebKit Bug 78087: Implement the 'resolution' media query
WHATWG Compatibility Standard: -webkit-device-pixel-ratio
How to unprefix -webkit-device-pixel-ratio