The break-inside property controls breaks within an element — keeping cards, figures, and list items intact across columns and printed pages instead of splitting them in the middle.
01
Inside Breaks
Control inner splits.
02
Syntax
auto, avoid, avoid-*.
03
avoid
Keep blocks together.
04
Columns
Intact column cards.
05
Print
No mid-table splits.
06
Break Trio
before, after, inside.
Fundamentals
Definition and Usage
The break-inside CSS property controls the behavior of breaks within elements when printing or when dealing with multi-column layouts. It helps prevent unwanted breaks inside elements, ensuring that content maintains its intended structure and appearance across different devices and print formats.
While break-before and break-after control breaks at the edges of an element, break-inside focuses on whether the element itself can be split across columns or pages.
💡
Beginner Tip
Use break-inside: avoid on cards in a masonry or multi-column layout so a card never breaks in half across two columns.
Foundation
📝 Syntax
Apply break-inside to any element to control how breaks inside it are handled:
Each .item flows into the column layout as a single unbreakable unit. Without break-inside: avoid, tall items could split awkwardly across two columns.
🖼 Figures & Media
Keep images and captions together so they never split across a page break when printing.
Example 2 — Keep a Figure Intact When Printing
Use break-inside: avoid on figure elements so the image and caption stay on the same page.
Section headings start new pages, while cards, figures, and tables resist internal splits — a common pattern for printable reports and documentation.
🧠 How break-inside Works
1
Content enters a fragmented layout
Columns or printed pages divide the available space into separate fragments.
Fragmentation
2
You set break-inside on elements
Apply avoid, avoid-column, or avoid-page to control internal splitting.
CSS rule
3
The browser respects or allows splits
With avoid, the element moves to the next fragment whole instead of breaking in the middle.
Layout engine
=
📦
Intact content blocks
Cards, figures, and tables stay readable as complete units.
Compatibility
Universal Browser Support
The break-inside property is supported in most modern browsers, including Chrome, Firefox, Safari, Edge, and Opera. Test column and print behavior in your target browsers.
✓ Baseline · Modern browsers
Reliable inside-break control
Chrome, Firefox, Safari, Edge, and Opera support break-inside for columns and print fragmentation.
96%Modern browser support
Google Chrome51+ · Desktop & Mobile
Full support
Mozilla Firefox65+ · Desktop & Mobile
Full support
Apple Safari10+ · macOS & iOS
Full support
Microsoft Edge79+ · Chromium
Full support
Opera38+ · Modern versions
Full support
break-inside property96% supported
Bottom line: Use break-inside: avoid confidently on column cards and print blocks. Very tall elements may still break if they exceed page height.
Wrap Up
Conclusion
The break-inside property is a useful tool for controlling content flow in multi-column layouts and printed documents. By preventing unwanted breaks within elements, you can maintain the integrity and readability of your content.
Experiment with avoid, avoid-column, and avoid-page to see how this property can enhance the presentation of your web projects.
Use break-inside: avoid on cards in multi-column layouts
Apply avoid-page to figures and small tables in print CSS
Combine with break-before for full print control
Test in print preview and column containers
Keep card content reasonably short so avoid rules can succeed
❌ Don’t
Expect avoid to work on elements taller than one page
Confuse break-inside with break-before or break-after
Use legacy page-break-inside in new projects
Apply avoid to every element — only blocks that must stay whole
Skip testing when column count or print margins change
Summary
Key Takeaways
Knowledge Unlocked
Five things to remember about break-inside
Use these points when keeping content blocks intact.
5
Core concepts
📦01
Inside Control
Prevents inner splits.
Purpose
⚙02
auto Default
Browser may break.
Default
🛡03
avoid
Keep block whole.
Keyword
📚04
Column Cards
Multi-column layouts.
Use case
🖨05
Print Blocks
Figures and tables.
Print
❓ Frequently Asked Questions
break-inside controls whether a page, column, or region break is allowed inside an element. It helps keep content together instead of being split across columns or printed pages.
The initial value is auto. With auto, the browser may break inside the element when needed based on normal layout and fragmentation rules.
avoid tries to prevent any break inside the element. avoid-column specifically prevents the element from being split across columns in a multi-column layout.
Use it on cards, figures, tables, and list items in multi-column layouts or print styles when you want each block to stay intact and not split in the middle.
break-inside is the modern standard property that replaces the older page-break-inside. Prefer break-inside in new projects; legacy print CSS may still use page-break-inside: avoid.