row-rule-color
Limited availability68% of usersExperimental
Sets the color of the lines drawn in the gaps between rows. It's one of the three properties the row-rule shorthand sets. No line shows until row-rule-style is set to something other than none. 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
currentcolor- Inherited
- No
- Applies to
- Grid, flex, multi-column and grid lanes containers
- Animation type
- repeatable list
Quick example
.grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 24px;
row-rule-style: solid;
row-rule-color: #cbd5e1;
}Values
<color>currentcolortransparentrow-rule-color 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