coderef

Conic gradientsBaseline · Widely available

The conic-gradient() and repeating-conic-gradient() CSS functions create backgrounds that progress between two or more colors around a center point.

Supported in all major browsers for at least 30 months — safe to use without fallbacks. Baseline since Nov 17, 2020. Widely available since May 17, 2023.

Browser support

DesktopChrome
1–68Not supported
69+Supportedsince Sep 4, 2018
Current: 155
Edge
12–18Not supported
79+Supportedsince Jan 15, 2020
Current: 154
Firefox
1–82Not supported
83+Supportedsince Nov 17, 2020
Current: 157
Safari
1–12Not supported
12.1+Supportedsince Mar 25, 2019
Current: 27
MobileChrome Android
18–68Not supported
69+Supportedsince Sep 4, 2018
Current: 155
Firefox Android
4–82Not supported
83+Supportedsince Nov 17, 2020
Current: 157
Safari iOS
1–12Not supported
12.2+Supportedsince Mar 25, 2019
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: conic-gradient.

Feature detection

CSS · check before using
@supports (background-image: conic-gradient(red, blue)) {
  /* styles that use conic-gradient */
}

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

Sub-features

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

Sub-featureChromeEdgeFirefoxSafariChrome AndroidFirefox AndroidSafari iOS
<gradient>.conic-gradient69798312.1698312.2
<gradient>.conic-gradient.doubleposition72798312.1728312.2
<gradient>.conic-gradient.single_color_stop13513513618.413513618.4
<gradient>.repeating-conic-gradient69798312.1698312.2
<gradient>.repeating-conic-gradient.single_color_stop13513513618.413513618.4