CSS widows Property Reference
The CSS widows property is a standard property in CSS Fragmentation. Review its formal syntax, computed behavior, and practical declarations.
Updated 2026-08-12
widows overview
The CSS widows property is a standard property in CSS Fragmentation. Review its formal syntax, computed behavior, and practical declarations.
The computed value normally inherits from the parent element when no declaration wins the cascade.
Syntax and formal definition
| Field | Value |
|---|---|
| Formal syntax | <integer> |
| Initial value | 2 |
| Applies to | blockContainerElements |
| Inherited | Yes |
| Percentages | no |
| Computed value | asSpecified |
| Animation type | byComputedValueType |
| Media | visual |
| Specification group | CSS Fragmentation |
| Status | Standard |
Practical examples
These declarations demonstrate valid ways to set widows. The initial and inherit global keywords remain available even when a property-specific value is preferable.
CSS
.reset-example {
widows: initial;
}
.inherit-example {
widows: inherit;
}
@supports (widows: initial) {
.supported {
widows: initial;
}
}