object-fit

Read More at MDN DocsView Spec

Safe to Use

object-fit is considered safe to use.

It’s supported by 94% of global browsers.

Browsers

ChromeJan 14, 2014v32.0.0
26%100%
100% of Chrome users are running a supported version.
SafariSep 20, 2016v10.0.0
5%96%
There are no users of Safari running a supported version.
EdgeJan 15, 2020v79.0.0
5%100%
There are no users of Edge running a supported version.
FirefoxFeb 24, 2015v36.0.0
3%100%
100% of Firefox users are running a supported version.

Version Breakdown

 
Agent
Support
Adoption
Chrome
Jan 14, 2014 v32.0.0
26%100%
100% of Chrome users are running a supported version.
Jan 14, 2014 – Latest
v32.0.0+
26%100%

Full Support

Chrome Android
Jan 15, 2014 v32.0.0
36%100%
100% of Chrome Android users are running a supported version.
Jan 15, 2014 – Latest
v32.0.0+
36%100%

Full Support

Edge
Jan 15, 2020 v79.0.0
5%100%
There are no users of Edge running a supported version.
Jan 15, 2020 – Latest
v79.0.0+
5%100%

Full Support

Oct 17, 2017 – Jan 15, 2020
v16.0.0 – v79.0.0
0%0%

Partial Support

Only supported for <img> elements.

Firefox
Feb 24, 2015 v36.0.0
3%100%
100% of Firefox users are running a supported version.
Feb 24, 2015 – Latest
v36.0.0+
3%100%

Full Support

Firefox for Android
Feb 27, 2015 v36.0.0
Firefox for Android supports this feature.
Feb 27, 2015 – Latest
v36.0.0+

Full Support

Internet Explorer
Unsupported
Internet Explorer does not support this feature.

No Support

 
Quest Browser
Unknown v5.0.0
Quest Browser supports this feature.
Unknown
v5.0.0+

Full Support

Opera
Jan 28, 2014 v19.0.0
1%100%
100% of Opera users are running a supported version.
Jan 28, 2014 – Latest
v19.0.0+
1%100%

Full Support

Dec 6, 2011 – Jul 2, 2013
v11.6.0 – v15.0.0

Implemented with the vendor prefix: -o-

Opera Android
Jan 28, 2014 v19.0.0
Opera Android supports this feature.
Jan 28, 2014 – Latest
v19.0.0+

Full Support

Feb 25, 2012 – May 21, 2013
v12.0.0 – v14.0.0

Implemented with the vendor prefix: -o-

Safari
Sep 20, 2016 v10.0.0
5%96%
There are no users of Safari running a supported version.
Sep 20, 2016 – Latest
v10.0.0+
5%96%

Full Support

Safari on iOS
Sep 13, 2016 v10.0.0
16%99%
There are no users of Safari on iOS running a supported version.
Sep 13, 2016 – Latest
v10.0.0+
16%99%

Full Support

Samsung Internet
Oct 17, 2014 v2.0.0
2%100%
100% of Samsung Internet users are running a supported version.
Oct 17, 2014 – Latest
v2.0.0+
2%100%

Full Support

WebView Android
Jun 2, 2014 v4.4.3
WebView Android supports this feature.
Jun 2, 2014 – Latest
v4.4.3+

Full Support

See Also

Contribute