![]() |
VOOZH | about |
The grid-row property in CSS is used to define the size and position of a grid item within a grid layout. It combines the grid-row-start and grid-row-end properties to specify the item's start and end positions along the row axis.
grid-row: grid-row-start|grid-row-end;Specifies the row line where the item will start.
Example:
Output:
Specifies the row line where the item will end or how many rows the item will span.
Example:
Output:
The grid-row property in CSS provides precise control over grid item placement along the row axis, enhancing the flexibility and responsiveness of web layouts. By using this property, developers can create complex, adaptive grid structures that improve user experience across various devices.
Supported Browsers: The browser supported by grid-row property are listed below: