grid-row-end
Defines which horizontal grid line a grid item should end at. You can use line numbers, names, or 'span' keywords.
It is documented as part of the CSS Grid Layout specification.
Syntax
/* Usage Example */
.stretched-row {
/* Tells the item to end at the 3rd horizontal line */
grid-row-end: 3;
}
.span-rows{
/* Tells the item to end after spanning 3 rows */
grid-row-end: span 3;
}
/* Global values */
grid-row-end: inherit;
grid-row-end: initial;
grid-row-end: revert;
grid-row-end: revert-layer;
grid-row-end: unset;
grid-row-end Browser support
Widely available
Since
2017 95% global usage
This feature is well established and works across many devices and browser versions. It has been available across browsers since 2017.
57+
52+
10.1+
16+