Srcset and sizes attributes

- LS

The srcset and sizes attributes on img (or source) elements allow authors to define various image resources and "hints" that assist a user agent to determine the most appropriate image source to display (e.g. high-resolution displays, small monitors, etc).

Chrome

  1. ❌ 4 - 33: Not supported
  2. ◐ 34 - 37: Partial support
  3. ✅ 38 - 155: Supported
  4. ✅ 156: Supported
  5. ✅ 157 - 159: Supported

Edge

  1. ◐ 12: Partial support
  2. ❌ 13 - 15: Not supported
  3. ✅ 16 - 154: Supported
  4. ✅ 155: Supported

Safari

  1. ❌ 3.1 - 7: Not supported
  2. ◐ 7.1 - 8: Partial support
  3. ◐ 9 - 10.1: Partial support
  4. ◐ 11 - 26.3: Partial support
  5. ◐ 26.4 - 26.6: Partial support
  6. ◐ 27: Partial support
  7. ◐ 27.1 - TP: Partial support

Firefox

  1. ❌ 2 - 31: Not supported
  2. ❌ 32 - 37: Disabled by default
  3. ✅ 38 - 157: Supported
  4. ✅ 158: Supported
  5. ✅ 159 - 161: Supported

Opera

  1. ❌ 9 - 20: Not supported
  2. ◐ 21 - 24: Partial support
  3. ✅ 25 - 134: Supported
  4. ✅ 135: Supported

IE

  1. ❌ 5.5 - 10: Not supported
  2. ❌ 11: Not supported

Chrome for Android

  1. ✅ 156: Supported

Safari on iOS

  1. ❌ 3.2 - 7.1: Not supported
  2. ◐ 8 - 8.4: Partial support
  3. ◐ 9 - 26.3: Partial support
  4. ✅ 26.4 - 26.6: Supported
  5. ✅ 27.0: Supported
  6. ✅ 27.1 - 27.2: Supported

Samsung Internet

  1. ✅ 4 - 29: Supported
  2. ✅ 30: Supported

Opera Mini

  1. ❌ all: Not supported

Opera Mobile

  1. ❌ 10 - 12.1: Not supported
  2. ✅ 80: Supported

UC Browser for Android

  1. ✅ 15.5: Supported

Android Browser

  1. ❌ 2.1 - 4.4.4: Not supported
  2. ✅ 156: Supported

Firefox for Android

  1. ✅ 158: Supported

QQ Browser

  1. ✅ 14.9: Supported

Baidu Browser

  1. ✅ 13.52: Supported

KaiOS Browser

  1. ✅ 2.5: Supported
  2. ✅ 3: Supported
Resources:
MDN: Responsive images
MDN: <img> element
Blog post on srcset & sizes
Improved support for high-resolution displays with the srcset image attribute