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.

p {
  /* Ensures that if a paragraph breaks, at least 3 lines appear on the next page */
  widows: 3;
}
Initial value
2
Inherited
Yes
Applies to
blockContainerElements
Animation type
byComputedValueType
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+
ESC