grid-row-end
Defines which horizontal grid line a grid item should end at. You can use line numbers, names, or 'span' keywords.
Quick 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;
} Quick facts
Initial value
autoInherited
No
Applies to
grid items and boxes within a grid container
Animation type
discrete
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.
Safe to use without fallbacks.
57+
52+
10.1+
16+