widows
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.
Quick example
p {
/* Ensures that if a paragraph breaks, at least 3 lines appear on the next page */
widows: 3;
}Quick facts
Initial value
2Inherited
Yes
Applies to
block container elements
Animation type
byComputedValueType
widows Browser Support
Limited availability94% global usage
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Not ready for production without a fallback.
25+
1.3+
12+