grid-row
The CSS Grid properties that set which rows or columns an item occupies, such as grid-row: span 3 to cover three rows.
In more detail
Values name start and end lines, such as grid-row: 1 / 3, or a span. A subgrid card must span as many parent rows as it has parts, for example header, body and footer, so it has tracks to inherit.
Related terms
- subgrid — A CSS Grid value that lets a nested grid use its parent grid's tracks instead of sizing its own, so content in separate cards lines up.
- CSS Grid — A CSS layout mode that places a container's children into rows and columns.
- grid track — One row or one column of a CSS grid, the space between two neighbouring grid lines.
Taught in
- CSS Subgrid: Inheriting Track Sizing Across Nested Layouts — Frontend Architecture & Web Platform