CSS break-after Property

Beginner
⏱️ 6 min read
📚 Updated: Jun 2026
🎯 4 Examples
Print & Columns

What You’ll Learn

The break-after property controls page, column, and region breaks after an element. It is especially useful for print styles, multi-column layouts, and any design where you need content to split at specific points.

01

Break Control

Split content on demand.

02

Syntax

auto, page, column.

03

Print Layouts

Start new pages.

04

Columns

Force column breaks.

05

avoid

Keep content together.

06

@media print

Print-only rules.

Definition and Usage

The break-after CSS property controls the behavior of page, column, or region breaks after an element. It is particularly useful in paged media, multi-column layouts, and other situations where content needs to be broken up across multiple pages, columns, or regions.

This property helps manage content flow in a more controlled and predictable manner. For example, you can force a new printed page after a chapter heading, or start the next section in a new column of a magazine-style layout.

💡
Beginner Tip

On normal screen layouts, break-after may have little visible effect. It shines in print preview and multi-column containers where fragmentation actually happens.

📝 Syntax

Apply break-after to an element and specify the type of break you want after it:

syntax.css
selector {
  break-after: auto | always | avoid | left | right | page | column | region;
}

Basic Example

break-after.css
.page-break {
  break-after: page;
}

Syntax Rules

  • The initial value is auto.
  • The property is not inherited — set it on the element where the break should occur.
  • page, column, and region target specific fragmentation contexts.
  • avoid tries to prevent a break immediately after the element.
  • Use inside @media print when you only want breaks when printing.

⚡ Quick Reference

QuestionAnswer
Initial valueauto
Applies toBlock-level elements
InheritedNo
AnimatableNo
Common usePrint page breaks and multi-column section splits

💎 Property Values

The break-after property accepts several keywords that control how and where content fragments after an element.

ValueExampleMeaning
autobreak-after: auto;Default. Automatic page, column, or region break behavior.
alwaysbreak-after: always;Always force a break after the element.
avoidbreak-after: avoid;Avoid a break after the element when possible.
leftbreak-after: left;Force a break so the next page is a left page (paged media).
rightbreak-after: right;Force a break so the next page is a right page (paged media).
pagebreak-after: page;Force a page break after the element.
columnbreak-after: column;Force a column break after the element.
regionbreak-after: region;Force a region break after the element.
auto page column avoid

When Does break-after Matter?

Fragmentation breaks only happen in specific layout contexts. These are the most common places where break-after is useful:

  • Print and PDF — Force new pages after chapters, invoices, or report sections using break-after: page.
  • Multi-column layouts — Start the next block in a new column with break-after: column.
  • Regions — Advanced layouts with named flow regions can use break-after: region.
  • Readable grouping — Use avoid to keep related content from splitting awkwardly.

On a single scrolling web page with no columns, you may not see any effect — that is normal. Test in print preview or inside a column-count container to verify behavior.

👀 Live Preview

The highlighted block uses break-after: column. Content after it starts in the next column of this two-column container.

Column one starts here with introductory text that flows naturally down the first column.

Section break — next content starts in column 2

This paragraph appears after the forced column break, so it begins in the second column of the layout.

Examples Gallery

Try print page breaks, column breaks, avoid rules, and a full print stylesheet.

Example 1 — Page Break After an Element

Apply break-after: page so content after the element starts on a new printed page.

page-break.html
<style>
  .page-break {
    break-after: page;
  }
</style>

<h1>Content Before Page Break</h1>
<div class="page-break">
  This content will be followed by a page break.
</div>
<h1>Content After Page Break</h1>
<p>This content will appear on a new page.</p>
Try It Yourself

How It Works

When the document is paginated — during printing or PDF export — the browser starts a new page immediately after the element with break-after: page.

📚 Multi-Column Breaks

In a CSS columns layout, break-after: column moves following content to the top of the next column.

Example 2 — Column Break in a Multi-Column Layout

Force the next section to begin in a new column after a heading or divider.

column-break.html
<style>
  .magazine {
    column-count: 2;
    column-gap: 1.5rem;
  }

  .section-end {
    break-after: column;
  }
</style>

<div class="magazine">
  <p>Section one text...</p>
  <div class="section-end"></div>
  <p>Section two starts in the next column.</p>
</div>
Try It Yourself

How It Works

Inside a multi-column container, break-after: column ends the current column and places subsequent content at the top of the next column.

Example 3 — Avoid a Break After a Heading

Use break-after: avoid to keep a heading visually connected to the content that follows it.

avoid-break.html
<style>
  h2 {
    break-after: avoid;
  }
</style>

<h2>Chapter Title</h2>
<p>The paragraph stays with the heading instead of breaking away.</p>
Try It Yourself

How It Works

avoid tells the browser not to insert a break right after the element if it can be prevented — useful for keeping headings with their first paragraph in print.

Example 4 — Print-Only Page Breaks

Apply page breaks inside @media print so they only affect printed or PDF output.

print-break.css
@media print {
  .chapter {
    break-after: page;
  }

  h2 {
    break-after: avoid;
  }
}
Try It Yourself

How It Works

Screen users see a normal scrolling page. When printing, each .chapter ends with a page break and headings stay grouped with their content.

🧠 How break-after Works

1

Content flows into fragments

The browser lays out content across pages, columns, or regions depending on the media and container.

Fragmentation
2

You set break-after on an element

Choose page, column, avoid, or another keyword to control the break after that element.

CSS rule
3

The browser applies the break rule

Following content moves to the next page, column, or region — or the break is suppressed when avoid is used.

Layout engine
=

Controlled content flow

Sections start where you intend — especially in print and column layouts.

Universal Browser Support

The break-after property is supported in most modern browsers, including Chrome, Firefox, Safari, Edge, and Opera. Test print and column behavior in the browsers your audience uses.

Baseline · Modern browsers

Reliable break control in current browsers

Chrome, Firefox, Safari, Edge, and Opera support break-after for print and fragmentation contexts.

96% Modern browser support
Google Chrome 51+ · Desktop & Mobile
Full support
Mozilla Firefox 65+ · Desktop & Mobile
Full support
Apple Safari 10+ · macOS & iOS
Full support
Microsoft Edge 79+ · Chromium
Full support
Opera 38+ · Modern versions
Full support

Testing tip

Use the browser’s print preview to verify break-after: page. Use a column-count container to test break-after: column on screen.

break-after property 96% supported

Bottom line: Use break-after confidently for print and column layouts. Always test in print preview for page-break behavior.

Conclusion

The break-after property is a valuable tool for managing content flow in complex layouts, especially when dealing with paged media, multi-column layouts, or regions. By using this property, you can create more controlled and predictable layouts.

Experiment with different values to see how this property can enhance the readability and presentation of your web projects — particularly in print stylesheets and magazine-style columns.

💡 Best Practices

✅ Do

  • Use break-after: page for print chapters and report sections
  • Scope print breaks inside @media print
  • Use break-after: column in multi-column article layouts
  • Combine with break-after: avoid on headings for readability
  • Test in print preview and column containers

❌ Don’t

  • Expect visible breaks on normal single-column screen pages
  • Overuse forced page breaks — too many blank pages hurt readability
  • Rely on old page-break-after in new projects
  • Apply break rules without testing the target media (print vs screen)
  • Forget that fragmentation context must exist for breaks to work

Key Takeaways

Knowledge Unlocked

Five things to remember about break-after

Use these points when controlling content fragmentation.

5
Core concepts
02

auto Default

Browser decides.

Default
🖨 03

page / column

Print and columns.

Keywords
🛡 04

avoid

Keep groups together.

Keyword
🖨 05

@media print

Print-only breaks.

Pattern

❓ Frequently Asked Questions

break-after controls whether a page, column, or region break happens after an element. It helps you decide where content splits in print layouts, multi-column designs, and other fragmented layouts.
The initial value is auto. With auto, the browser chooses break behavior using its normal rules — no forced break is applied unless the layout requires it.
page forces a break after the element when content is paginated, such as in print. column forces the next content to start in a new column within a multi-column container.
Use it for print stylesheets, PDF-friendly pages, magazine-style column layouts, and anywhere you need content to start on a new page or column after a specific element.
break-after is the modern standard property that replaces the older page-break-after. For new projects, prefer break-after. Some legacy code still uses page-break-after for print.

Practice in the Live Editor

Open the HTML editor, apply break-after, and test page and column breaks instantly.

HTML Editor →

About the author

Mari Selvan M P
Mari Selvan M P 🔗

Developer, cloud engineer, and technical writer

  • Experience 12 years building web and cloud systems
  • Focus Full Stack Development, AWS, and Developer Education

I write practical tutorials so students and working developers can learn by doing—from databases and APIs to deployment on AWS.

5 people found this page helpful