Page break aliasesLimited availability
The page-break-before, page-break-inside, and page-break-after CSS properties are aliases to the break-before, break-inside, and break-after properties.
Not yet supported in all major browsers — check the table and provide a fallback.
Discouraged: The page-break- alias properties exist only for backwards compatibility with pages that predate the break- properties. Use instead: Page breaks
Browser support
DesktopChrome
1+Supportedsince Dec 11, 2008
Current: 155Edge
12+Supportedsince Jul 29, 2015
Current: 154Firefox
✕Not supportedup to 157
Current: 157Safari
✕Not supportedup to 27
Current: 27MobileChrome Android
18+Supportedsince Jun 27, 2012
Current: 155Firefox Android
✕Not supportedup to 157
Current: 157Safari iOS
✕Not supportedup to 27
Current: 27How to use
Not supported in Firefox, Safari, Firefox Android, Safari iOS. Use feature detection below and provide a fallback (or a polyfill) for those browsers.
Example
Full syntax and examples are on MDN: page-break-after.
Feature detection
CSS · check before using
@supports (page-break-after: initial) {
/* styles that rely on page-break-after */
}
/* or in JavaScript */
if (CSS.supports("page-break-after", "initial")) {
// use it
}Documentation (MDN)
Specification
Sub-features
Support for each part of the feature (15). The overall table above shows when the whole feature works.
| Sub-feature | Chrome | Edge | Firefox | Safari | Chrome Android | Firefox Android | Safari iOS |
|---|---|---|---|---|---|---|---|
| page-break-after | 1 | 12 | 1 | 1.2 | 18 | 4 | 1 |
| page-break-after.always | 1 | 12 | 1 | 1.2 | 18 | 4 | 1 |
| page-break-after.auto | 1 | 12 | 1 | 1.2 | 18 | 4 | 1 |
| page-break-after.avoid | 1 | 12 | ✕ | ✕ | 18 | ✕ | ✕ |
| page-break-after.left | 1 | 12 | 1 | 1.2 | 18 | 4 | 1 |
| page-break-after.right | 1 | 12 | 1 | 1.2 | 18 | 4 | 1 |
| page-break-before | 1 | 12 | 1 | 1.2 | 18 | 4 | 1 |
| page-break-before.always | 1 | 12 | 1 | 1.2 | 18 | 4 | 1 |
| page-break-before.auto | 1 | 12 | 1 | 1.2 | 18 | 4 | 1 |
| page-break-before.avoid | 1 | 12 | ✕ | ✕ | 18 | ✕ | ✕ |
| page-break-before.left | 1 | 12 | 1 | 1.2 | 18 | 4 | 1 |
| page-break-before.right | 1 | 12 | 1 | 1.2 | 18 | 4 | 1 |
| page-break-inside | 1 | 12 | 19 | 1.3 | 18 | 19 | 1 |
| page-break-inside.auto | 1 | 12 | 19 | 1.3 | 18 | 19 | 1 |
| page-break-inside.avoid | 1 | 12 | 19 | 1.3 | 18 | 19 | 1 |