image-set()

Read More at MDN DocsView Spec

Safe to Use

image-set() is not safe to use.

It’s supported by 78% of global browsers.

Browsers

ChromeMay 2, 2023v113.0.0
20%77%
There are no users of Chrome running a supported version.
SafariSep 16, 2020v14.0.0
5%93%
There are no users of Safari running a supported version.
EdgeMay 5, 2023v113.0.0
4%93%
There are no users of Edge running a supported version.
FirefoxApr 19, 2021v88.0.0
2%96%
There are no users of Firefox running a supported version.

Version Breakdown

 
Agent
Support
Adoption
Chrome
May 2, 2023 v113.0.0
20%77%
There are no users of Chrome running a supported version.
May 2, 2023 – Latest
v113.0.0+
20%77%

Full Support

Jul 31, 2012 – Latest
v21.0.0+
26%100%

Implemented with the vendor prefix: -webkit-

Chrome Android
May 2, 2023 v113.0.0
30%84%
There are no users of Chrome Android running a supported version.
May 2, 2023 – Latest
v113.0.0+
30%84%

Full Support

Feb 27, 2013 – Latest
v25.0.0+
36%100%

Implemented with the vendor prefix: -webkit-

Edge
May 5, 2023 v113.0.0
4%93%
There are no users of Edge running a supported version.
May 5, 2023 – Latest
v113.0.0+
4%93%

Full Support

Jan 15, 2020 – Latest
v79.0.0+
5%100%

Implemented with the vendor prefix: -webkit-

Firefox
Apr 19, 2021 v88.0.0
2%96%
There are no users of Firefox running a supported version.
Apr 19, 2021 – Latest
v88.0.0+
2%96%

Full Support

In cursor and content properties, gradients are not supported as arguments to image-set(). See bug 1696314.

Before Firefox 89, the type() function is not supported as an argument to image-set().

Jul 13, 2021 – Latest
v90.0.0+
2%96%

Implemented with the vendor prefix: -webkit-

Firefox for Android
Apr 19, 2021 v88.0.0
Firefox for Android supports this feature.
Apr 19, 2021 – Latest
v88.0.0+

Full Support

In cursor and content properties, gradients are not supported as arguments to image-set(). See bug 1696314.

Before Firefox 89, the type() function is not supported as an argument to image-set().

Jul 13, 2021 – Latest
v90.0.0+

Implemented with the vendor prefix: -webkit-

Internet Explorer
Unsupported
Internet Explorer does not support this feature.

No Support

 
Quest Browser
Unsupported
Quest Browser does not support this feature.
Unknown
v5.0.0+

Implemented with the vendor prefix: -webkit-

Opera
Unsupported
Opera does not support this feature.
Jul 2, 2013 – Latest
v15.0.0+
1%100%

Implemented with the vendor prefix: -webkit-

Opera Android
Unsupported
Opera Android does not support this feature.
May 21, 2013 – Latest
v14.0.0+

Implemented with the vendor prefix: -webkit-

Safari
Sep 16, 2020 v14.0.0
5%93%
There are no users of Safari running a supported version.
Sep 16, 2020 – Latest
v14.0.0+
5%93%

Full Support

Jul 25, 2012 – Latest
v6.0.0+
5%100%

Implemented with the vendor prefix: -webkit-

Partial Support

Support for url images only and x is the only supported resolution unit.

Safari on iOS
Sep 16, 2020 v14.0.0
16%96%
There are no users of Safari on iOS running a supported version.
Sep 16, 2020 – Latest
v14.0.0+
16%96%

Full Support

Sep 10, 2012 – Latest
v6.0.0+
17%100%

Implemented with the vendor prefix: -webkit-

Partial Support

Support for url images only and x is the only supported resolution unit.

Samsung Internet
Unsupported
Samsung Internet does not support this feature.
Sep 25, 2013 – Latest
v1.5.0+
2%100%

Implemented with the vendor prefix: -webkit-

WebView Android
May 2, 2023 v113.0.0
WebView Android supports this feature.
May 2, 2023 – Latest
v113.0.0+

Full Support

Dec 9, 2013 – Latest
v4.4.0+

Implemented with the vendor prefix: -webkit-

See Also

Contribute