break-inside
Widely availableSince 201997% of users
Determines if an element should be allowed to split across pages or columns. Setting it to 'avoid' is the standard way to prevent images or cards from getting cut in half.
What's modern
From web-features, MDN's browser data and our snippets, checked dailyModernIn every major browser since January 2019. Widely available since July 2021.
Newer parts of break-inside
avoid-columnBaseline Sept 2021, Widely Mar 2024avoid-pageBaseline Sept 2021, Widely Mar 2024autoBaseline Jan 2020, Widely Jul 2022avoidBaseline Jan 2020, Widely Jul 2022
See how modern your own CSS is.Check your CSS →
Quick facts
- Initial value
auto- Inherited
- No
- Applies to
- block-level elements
- Animation type
- discrete
Quick example
.card {
display: inline-block;
width: 100%;
/* Prevents the card from breaking across multiple columns */
break-inside: avoid;
}Values
autoavoidavoid-pageavoid-columnavoid-regionbreak-inside browser support
BaselineWidely availableThis feature is well established and works across many devices and browser versions. It has been available across browsers since 2019.Safe to use without fallbacks.
Usage97%of people can use this3% use a browser without it.
Browsers
50+
65+
10+
12+Mobile
50+Android
65+Android
10+iOS