Example
A simple grid-auto-rows property example:
Laboratory
description & Usage
To determine the size of the rows in the grid layout, we use the grid-auto-rows property.
Browser compatibility and Support
# |
Chrome |
Edge |
Firefox |
Safari |
Opera |
grid-auto-rows |
|
|
|
|
|
Values
Values |
Description |
auto
|
Default
|
max-content
|
Determines the size of each row so that it is the same size as the largest item in the row.
|
min-content
|
Determines the size of each row so that it is the same size as the smallest item in the row.
|
length
|
Determines the size of the lines efficiently from the legal length.
|