column-rule-inset-junction
Limited availability67% of usersExperimental
Moves the ends of the lines between columns where they meet other rules at a gap crossing. Percentages are measured against the width of the gap being crossed, so -50% stretches each end halfway in and the pieces meet in the middle. One value sets both ends. Two values set the start, then the end. It's a shorthand for column-rule-inset-junction-start and column-rule-inset-junction-end. 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
See individual properties- Inherited
- No
- Applies to
- grid containers, flex containers, multicol containers and grid lanes containers
Quick example
.grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1rem;
column-rule: 1px solid #cbd5e1;
row-rule: 1px solid #cbd5e1;
column-rule-break: intersection;
column-rule-inset-junction: -50%;
}Values
<length-percentage>overlap-joincolumn-rule-inset-junction 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