CSS break-after Property
Sets page, column, or region break behavior after an element
Syntax
break-after: auto | avoid | always | all | avoid-page | page | left | right | recto | verso | avoid-column | column;Values
| Value | Description |
|---|---|
| auto | No forced break (default) |
| avoid | Avoids break after |
| page | Forces page break after |
| column | Forces column break after |
Example
.section {
break-after: avoid;
}Understanding CSS break-after
The CSS break-after property sets page, column, or region break behavior after an element. As part of the Misc module in CSS, it is one of the most commonly used properties for controlling the visual presentation of web pages.
You can set break-after to values such as auto, avoid, page, column, among others. Each value changes how the browser renders the affected element, giving you fine-grained control over your page layout and design. Choosing the right value depends on the specific design requirements of your project.
Common use cases for the break-after property include responsive web design, component-based layouts, and creating visually consistent interfaces across devices. It works closely with related properties like break-before, break-inside, widows to achieve complex styling effects. Understanding how these properties interact helps you write cleaner, more maintainable stylesheets.
Browser support for break-after is excellent across all modern browsers including Chrome, Firefox, Safari, and Edge. For older browsers, consider using fallback values or progressive enhancement strategies. The property can also be set dynamically via JavaScript using element.style.breakAfter or the CSS custom properties (variables) approach for theming.
Related Properties
break-beforeSets page, column, or region break behavior before an element
break-insideSets page, column, or region break behavior inside an element
widowsSets the minimum number of lines in a block container that must be shown at the top of a page or column
orphansSets the minimum number of lines in a block container that must be shown at the bottom of a page or column
Explore More CSS Properties
Browse our complete reference of 251 CSS properties with syntax, examples, and tips.