New! My 44-page ebook "CSS in 44 minutes" is out! 😃
#grid-row
Shorthand property for grid-row-start
and grid-row-end
.
default
grid-row: auto auto;
The grid item's row start and end are automatically set.
grid-row: 1 / 3;
The grid item starts before the first row and ends just before the third one.
grid-row: span 3;
The grid item spans 3 rows.
grid-row: 1 / span 4;
The grid items starts before the first row and spans for 4 rows, creating a new one in the process.
grid-row: header;
You can use an area name to "copy" its row start and end positions.