widows
Limited availability94% of users
Specifies the minimum number of lines of a paragraph that must be left at the TOP of a new page or column when a page break occurs. It prevents lonely single lines from ending up on a new page by themselves.
What's modern
From web-features, MDN's browser data and our snippets, checked dailyComingNot in Firefox yet, so not every major browser supports it.
See how modern your own CSS is.Check your CSS →
Quick facts
- Initial value
2- Inherited
- Yes
- Applies to
- block container elements
- Animation type
- byComputedValueType
Quick example
p {
/* Ensures that if a paragraph breaks, at least 3 lines appear on the next page */
widows: 3;
}widows browser support
BaselineLimited availabilityThis feature is not Baseline because it does not work in some of the most widely-used browsers.Not ready for production without a fallback.
Usage94%of people can use this6% use a browser without it.
Browsers
25+
1.3+
12+Mobile
25+Android
1+iOS