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 - 156: Supported
  3. ✅ 157: Supported
  4. ✅ 158 - 160: Supported

Edge

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

Safari

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

Firefox

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

Opera

  1. ❌ 9 - 10.5: Not supported
  2. ✅ 10.6 - 12.1: Supported
  3. ❌ 15 - 18: Not supported
  4. ✅ 19 - 138: Supported
  5. ✅ 139: Supported

IE

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

Chrome for Android

  1. ✅ 157: 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 - 30: Supported
  2. ✅ 31: 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. ✅ 157: Supported

Firefox for Android

  1. ✅ 160: 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