CSS grid-auto-rows Property
The grid-auto-rows property in CSS is used to specify the size for the rows of implicitly generated grid containers.
Syntax
Property Values
| Value | Description |
|---|---|
| auto | The default value. The size of the rows is determined by the size of the row's largest item. |
| max-content | The size of each row is determined by the largest item in the row. |
| min-content | The size of each row is determined by the largest item in the row. |
| length | Sets the row size by using a legal length value. |
Supported Browsers
| Property | Chrome | Firefox | Safari | Edge / IE | Opera |
|---|---|---|---|---|---|
| grid-auto-rows | 57.0 | 52.0 | 10.0 | 16.0 | 44.0 |