row-rule-break
Limited availability67% of usersExperimental
Decides where the lines between rows stop. none draws one unbroken line from one end of the gap to the other, even behind items that span it. intersection breaks the line at every crossing. normal depends on the layout. In a grid the line stops at items that span across the gap but runs through plain crossings. In flex and multi-column layouts it acts like none. The rule-break shorthand sets it together with column-rule-break. It works in Chrome, Edge and Opera so far.
What's modern
From web-features, MDN's browser data and our snippets, checked dailyComingNot in Firefox or Safari yet, so not every major browser supports it.
See how modern your own CSS is.Check your CSS →
Quick facts
- Initial value
normal- Inherited
- No
- Applies to
- Grid, flex, multi-column and grid lanes containers
- Animation type
- discrete
Quick example
.grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 24px;
row-rule: 1px solid #ddd;
row-rule-break: intersection;
}Values
nonenormalintersectionrow-rule-break browser support
BaselineLimited availabilityThis feature is not Baseline because it does not work in some of the most widely-used browsers.Not ready for production without a fallback.
Usage67%of people can use this33% use a browser without it.
Browsers
149+
149+Mobile
149+Android