shape-outsideBaseline · Widely available
The shape-outside CSS property, along with shape-margin and shape-image-threshold, sets the shape around which adjacent content will wrap.
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–61Not supported
62+Supportedsince Sep 5, 2018
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–61Not supported
62+Supportedsince Sep 5, 2018
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: shape-image-threshold.
Feature detection
CSS · check before using
@supports (shape-outside: initial) {
/* styles that rely on shape-outside */
}
/* or in JavaScript */
if (CSS.supports("shape-outside", "initial")) {
// use it
}Documentation (MDN)
Specification
Sub-features
Support for each part of the feature (11). The overall table above shows when the whole feature works.
| Sub-feature | Chrome | Edge | Firefox | Safari | Chrome Android | Firefox Android | Safari iOS |
|---|---|---|---|---|---|---|---|
| shape-image-threshold | 37 | 79 | 62 | 10.1 | 37 | 62 | 10.3 |
| shape-image-threshold.percentages | 78 | 79 | 70 | ✕ | 78 | 79 | ✕ |
| shape-margin | 37 | 79 | 62 | 10.1 | 37 | 62 | 10.3 |
| shape-outside | 37 | 79 | 62 | 10.1 | 37 | 62 | 10.3 |
| shape-outside.circle | 37 | 79 | 62 | 10.1 | 37 | 62 | 10.3 |
| shape-outside.gradient | 37 | 79 | 62 | 10.1 | 37 | 62 | 10.3 |
| shape-outside.image | 37 | 79 | 62 | 10.1 | 37 | 62 | 10.3 |
| shape-outside.inset | 37 | 79 | 62 | 10.1 | 37 | 62 | 10.3 |
| shape-outside.none | 37 | 79 | 62 | 10.1 | 37 | 62 | 10.3 |
| shape-outside.path | 149 | 149 | ✕ | ✕ | 149 | ✕ | ✕ |
| shape-outside.polygon | 37 | 79 | 62 | 10.1 | 37 | 62 | 10.3 |