grid-row-end CSS property is used in grid layouts to specify the ending position of a grid item along the vertical axis.
grid-row-end property accepts a value that represents the grid line at which the grid item should end. Grid lines can be identified using line numbers, names of named grid lines, or the
span keyword to span across multiple grid tracks.
Here’s an example:
grid-row-end: span 2;
In this example, the
grid-row-end: span 2; rule sets the grid item to span across two grid tracks vertically. This means the grid item will end at the second grid line from its starting position along the vertical axis.
grid-row-end property works in conjunction with
grid-row-start to define the vertical range of grid placement for grid items within a grid container. It allows you to control the positioning and spanning of grid items along the vertical axis in a grid layout.