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
Widely available Since 2015 94% global usage
This feature is well established and works across many devices and browser versions. It has been available across browsers since 2015.
Safe to use without fallbacks.
25+
1.3+
12+