column-rule-inset
Limited availability68% of usersExperimental
Moves the ends of the lines between columns. A positive length pulls each end in and a negative length pushes it out past the items. One value covers every end. Add a slash and a second value to treat ends that meet other rules apart from free ends. It's a shorthand for the column-rule-inset-cap-* and column-rule-inset-junction-* properties. 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;
column-rule-break: intersection;
column-rule-inset: 8px;
}Values
<length-percentage>overlap-joincolumn-rule-inset 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.
Usage68%of people can use this32% use a browser without it.
Browsers
149+
149+Mobile
149+Android