coderef

Column breaksLimited availability

In columnar layouts (created by the columns or column-count CSS properties), the break-after, break-before, break-inside properties control where columns start or end.

Not yet supported in all major browsers — check the table and provide a fallback.

Browser support

DesktopChrome
1–101Not supported
102+Supportedsince May 24, 2022
Current: 155
Edge
12–101Not supported
102+Supportedsince May 31, 2022
Current: 154
Firefox
✕Not supportedup to 157
Current: 157
Safari
✕Not supportedup to 27
Current: 27
MobileChrome Android
18–101Not supported
102+Supportedsince May 24, 2022
Current: 155
Firefox Android
✕Not supportedup to 157
Current: 157
Safari iOS
✕Not supportedup to 27
Current: 27

How to use

Not supported in Firefox, Safari, Firefox Android, Safari iOS. Use feature detection below and provide a fallback (or a polyfill) for those browsers.

Example

Full syntax and examples are on MDN — see the links below.

Feature detection

CSS · check before using
@supports (break-after: avoid-column) {
  /* styles that rely on break-after: avoid-column */
}

/* or in JavaScript */
if (CSS.supports("break-after", "avoid-column")) {
  // use it
}

Sub-features

Support for each part of the feature (15). The overall table above shows when the whole feature works.

Sub-featureChromeEdgeFirefoxSafariChrome AndroidFirefox AndroidSafari iOS
break-after.avoid-column5079✕1050✕10
break-after.column5079✕1050✕10
break-after.multicol_context5012✕✕50✕✕
break-after.multicol_context.avoid102102✕✕102✕✕
break-after.multicol_context.avoid-column102102✕✕102✕✕
break-after.multicol_context.column5012✕✕50✕✕
break-before.avoid-column5079✕1050✕10
break-before.column5079✕1050✕10
break-before.multicol_context5012✕✕50✕✕
break-before.multicol_context.avoid102102✕✕102✕✕
break-before.multicol_context.avoid-column102102✕✕102✕✕
break-before.multicol_context.column5112✕✕51✕✕
break-inside.avoid-column50799210509210
break-inside.multicol_context50126510506510
break-inside.multicol_context.avoid-column50129210509210