CSS · Properties — CSS Fragmentation

orphans

The CSS orphans property. Initial value: 2. Inherited.

Syntax
orphans: <integer>

Example

Try it

Notes

Media: visual. Applies to: blockContainerElements. Computed value: asSpecified.

More in this group

box-decoration-break break-after break-before break-inside widows

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course