Menu
The widows
property designates a specific number of lines in a block container that must be left at the top of a page, region, or column.
A widow is the last line of a paragraph that appears alone at the top of the page in typography.
.container p {
widows: 2;
}
integer
Numerical value that designates the minimum number of lines that are left at the top of a page, region, or column. Only positive values are allowed.
initial
Sets the property to its default value.
inherit
Inherits this property’s value from its parent item.
Have a code example of widows
? Submit a codepen.io demo and we'll showcase it here ↴