shapesBaseline · Widely available
The circle(), ellipse(), inset(), and polygon() CSS shape functions create shapes for use with clip-path and shape-outside.
Supported in all major browsers for at least 30 months — safe to use without fallbacks. Baseline since Jan 15, 2020. Widely available since Jul 15, 2022.
Browser support
DesktopChrome
1–36Not supported
37+Supportedsince Aug 26, 2014
Current: 155Edge
12–18Not supported
79+Supportedsince Jan 15, 2020
Current: 154Firefox
1–53Not supported
54+Supportedsince Jun 13, 2017
Current: 157Safari
1–10Not supported
10.1+Supportedsince Mar 27, 2017
Current: 27MobileChrome Android
18–36Not supported
37+Supportedsince Sep 3, 2014
Current: 155Firefox Android
4–53Not supported
54+Supportedsince Jun 13, 2017
Current: 157Safari iOS
1–10Not supported
10.3+Supportedsince Mar 27, 2017
Current: 27How to use
This feature is Baseline widely available — use it freely, no fallback needed.
Example
Full syntax and examples are on MDN: basic-shape.
Feature detection
There’s no simple runtime check for this feature; rely on the support table and test in your target browsers.
Documentation (MDN)
Specification
Usage share
Sub-features
Support for each part of the feature (6). The overall table above shows when the whole feature works.
| Sub-feature | Chrome | Edge | Firefox | Safari | Chrome Android | Firefox Android | Safari iOS |
|---|---|---|---|---|---|---|---|
| <basic-shape> | 37 | 79 | 54 | 10.1 | 37 | 54 | 10.3 |
| <basic-shape>.animation | 37 | 79 | 54 | 10.1 | 37 | 54 | 10.3 |
| <basic-shape>.circle | 37 | 79 | 54 | 10.1 | 37 | 54 | 10.3 |
| <basic-shape>.ellipse | 37 | 79 | 54 | 10.1 | 37 | 54 | 10.3 |
| <basic-shape>.inset | 37 | 79 | 54 | 10.1 | 37 | 54 | 10.3 |
| <basic-shape>.polygon | 37 | 79 | 54 | 10.1 | 37 | 54 | 10.3 |