coderef

image-set()Baseline · Widely available

The image-set() CSS function provides a set of images at different resolutions or pixel densities, which the browser can pick from, depending on the device capabilities.

Supported in all major browsers for at least 30 months — safe to use without fallbacks. Baseline since Sep 18, 2023. Widely available since Mar 18, 2026.

Browser support

DesktopChrome
1–112Not supported
113+Supportedsince May 2, 2023
Current: 155
Edge
12–112Not supported
113+Supportedsince May 5, 2023
Current: 154
Firefox
1–88Not supported
89+Supportedsince Jun 1, 2021
Current: 157
Safari
1–16.6Not supported
17+Supportedsince Sep 18, 2023
Current: 27
MobileChrome Android
18–112Not supported
113+Supportedsince May 2, 2023
Current: 155
Firefox Android
4–88Not supported
89+Supportedsince Jun 1, 2021
Current: 157
Safari iOS
1–16.6Not supported
17+Supportedsince Sep 18, 2023
Current: 27

How to use

This feature is Baseline widely available — use it freely, no fallback needed.

Example

Full syntax and examples are on MDN: image-set.

Feature detection

CSS · check before using
@supports (background-image: image-set) {
  /* styles that rely on background-image: image-set */
}

/* or in JavaScript */
if (CSS.supports("background-image", "image-set")) {
  // use it
}

Sub-features

Support for each part of the feature (3). The overall table above shows when the whole feature works.

Sub-featureChromeEdgeFirefoxSafariChrome AndroidFirefox AndroidSafari iOS
background-image.image-set11311389171138917
content.image-set11311389171138917
<image>.image-set11311389171138917