Widows and orphansLimited availability
The widows and orphans CSS properties set the minimum lines included in a text fragment created by page, column, or region breaks.
Not yet supported in all major browsers — check the table and provide a fallback.
Browser support
DesktopChrome
1–24Not supported
25+Supportedsince Feb 21, 2013
Current: 155Edge
12+Supportedsince Jul 29, 2015
Current: 154Firefox
✕Not supportedup to 157
Current: 157Safari
1–1.2Not supported
1.3+Supportedsince Apr 15, 2005
Current: 27MobileChrome Android
18–18Not supported
25+Supportedsince Feb 27, 2013
Current: 155Firefox Android
✕Not supportedup to 157
Current: 157Safari iOS
1+Supportedsince Jun 29, 2007
Current: 27How to use
Not supported in Firefox, Firefox Android. Use feature detection below and provide a fallback (or a polyfill) for those browsers.
Example
Full syntax and examples are on MDN: orphans.
Feature detection
CSS · check before using
@supports (orphans: initial) {
/* styles that rely on orphans */
}
/* or in JavaScript */
if (CSS.supports("orphans", "initial")) {
// use it
}Specification
Usage share
Sub-features
Support for each part of the feature (2). The overall table above shows when the whole feature works.