grid-auto-rows
Widely availableSince 202097% of users
Sets the size of any rows that the browser creates automatically (implicit rows) when items spill over your explicitly defined grid rows.
What's modern
From web-features, MDN's browser data and our snippets, checked dailyModernIn every major browser since July 2020. Widely available since January 2023.
See how modern your own CSS is.Check your CSS →
Quick facts
- Initial value
auto- Inherited
- No
- Applies to
- grid containers
- Animation type
- byComputedValueType
Quick example
.flexible-list {
display: grid;
/* Extra rows added for content will expand/shrink to fit it */
grid-auto-rows: min-content;
}grid-auto-rows browser support
BaselineWidely availableThis feature is well established and works across many devices and browser versions. It has been available across browsers since 2020.Safe to use without fallbacks.
Usage97%of people can use this3% use a browser without it.
Browsers
57+
70+
10.1+
16+Mobile
57+Android
79+Android
10.3+iOS