row-rule-inset
Limited availability68% of usersExperimental
Pulls the ends of the row lines in or pushes them out. A positive length shortens each line and a negative one stretches it. A percentage is measured against the width of the gap being crossed. It's a shorthand that sets all four row inset longhands at once: the cap ends and the junction ends on both sides. Values after a slash set the junction ends, like 0px / -4px. 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, flex, multi-column and grid lanes containers
Quick example
.grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 24px;
row-rule: 1px solid #ddd;
row-rule-break: intersection;
row-rule-inset: 8px;
}Values
<length-percentage>overlap-joinrow-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