1. Layout
  2. break-inside

Layout

break-inside

Classes for deciding whether a column or page is allowed to break inside a given element.

ClassStyles
break-inside-auto
break-inside: auto;
break-inside-avoid
break-inside: avoid;
break-inside-avoid-page
break-inside: avoid-page;
break-inside-avoid-column
break-inside: avoid-column;

Examples

Basic example

Reach for classes such as break-inside-column and break-inside-avoid-page when you want to shape the way a column or page break lands inside an element:

<div class="columns-2">  <p>Well, let me tell you something, ...</p>  <p class="break-inside-avoid-column">Sure, go ahead, laugh...</p>  <p>Maybe we can live without...</p>  <p>Look. If you think this is...</p></div>

Responsive design

Put a breakpoint variant such as md: ahead of a break-inside class so it only takes effect once screens reach medium width and beyond:

<div class="break-inside-avoid-column md:break-inside-auto ...">  <!-- ... --></div>

Dig deeper into how variants behave over variants reference guide.

Ship UIs people love — 5-day mini-course

5-day crash course

Build UIs you're proud of.

Short, hands-on video lessons from the team behind Breezel, sent straight to your inbox every single day for a full week.

Grab the free course

Copyright © 2026 Breezel, Inc.·Trademark Policy