CSS3 object-fit/object-position

- CR

Method of specifying how an object (image or video) should fit inside its box. object-fit options include "contain" (fit according to aspect ratio), "fill" (stretches object to fill) and "cover" (overflows box but maintains ratio), where object-position allows the object to be repositioned like background-image does.

Chrome

  1. ❌ 4 - 31: Not supported
  2. ✅ 32 - 155: Supported
  3. ✅ 156: Supported
  4. ✅ 157 - 159: Supported

Edge

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

Safari

  1. ❌ 3.1 - 7: Not supported
  2. ◐ 7.1 - 9.1: Partial support
  3. ✅ 10 - 26.6: Supported
  4. ✅ 27: Supported
  5. ✅ 27.1 - TP: Supported

Firefox

  1. ❌ 2 - 35: Not supported
  2. ✅ 36 - 157: Supported
  3. ✅ 158: Supported
  4. ✅ 159 - 161: Supported

Opera

  1. ❌ 9 - 10.5: Not supported
  2. ✅ 10.6 - 12.1: Supported
  3. ❌ 15 - 18: Not supported
  4. ✅ 19 - 134: Supported
  5. ✅ 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 - 9.3: Partial support
  3. ✅ 10 - 26.6: Supported
  4. ✅ 27.0: Supported
  5. ✅ 27.1 - 27.2: Supported

Samsung Internet

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

Opera Mini

  1. ✅ all: Supported

Opera Mobile

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

UC Browser for Android

  1. ✅ 15.5: Supported

Android Browser

  1. ❌ 2.1 - 4.4: Not supported
  2. ✅ 4.4.3: Supported
  3. ✅ 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:
Dev.Opera article
MDN (object-fit)
MDN (object-position)
object-fit-images Polyfill for IE & Edge
WebPlatform Docs