box-decoration-breakLimited availability
The box-decoration-break CSS property sets whether box decorations, such as borders or backgrounds, of an element divided across a page, column, or region wraps each fragment or splits across the break.
Not yet supported in all major browsers — check the table and provide a fallback.
Browser support
DesktopChrome
1–129Not supported
130+Supportedsince Oct 15, 2024
Current: 155Edge
12–129Not supported
130+Supportedsince Oct 17, 2024
Current: 154Firefox
1–31Not supported
32+Supportedsince Sep 2, 2014
Current: 157Safari
✕Not supportedup to 27
Current: 27MobileChrome Android
18–129Not supported
130+Supportedsince Oct 15, 2024
Current: 155Firefox Android
4–31Not supported
32+Supportedsince Sep 2, 2014
Current: 157Safari iOS
✕Not supportedup to 27
Current: 27How to use
Not supported in Safari, Safari iOS. Use feature detection below and provide a fallback (or a polyfill) for those browsers.
Example
Full syntax and examples are on MDN: box-decoration-break.
Feature detection
CSS · check before using
@supports (box-decoration-break: initial) {
/* styles that rely on box-decoration-break */
}
/* or in JavaScript */
if (CSS.supports("box-decoration-break", "initial")) {
// use it
}Documentation (MDN)
Specification
Usage share
Sub-features
Support for each part of the feature (3). The overall table above shows when the whole feature works.
| Sub-feature | Chrome | Edge | Firefox | Safari | Chrome Android | Firefox Android | Safari iOS |
|---|---|---|---|---|---|---|---|
| box-decoration-break | 130 | 130 | 32 | ✕ | 130 | 32 | ✕ |
| box-decoration-break.clone | 130 | 130 | 32 | ✕ | 130 | 32 | ✕ |
| box-decoration-break.slice | 130 | 130 | 32 | ✕ | 130 | 32 | ✕ |