grid track
One row or one column of a CSS grid, the space between two neighbouring grid lines.
In more detail
Track sizes can be fixed, fractional with fr, content-based or clamped with minmax(). Subgrid lets nested elements reuse a parent grid's tracks.
Related terms
- CSS Grid — A CSS layout mode that places a container's children into rows and columns.
- fr unit — A CSS Grid unit meaning one share of the space left after fixed-size tracks and gaps have been taken out.
- minmax() — A CSS Grid function that lets a track size vary between a minimum and a maximum, such as minmax(280px, 1fr).
- 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.
Taught in
- Advanced CSS Grid: Named Areas, minmax And auto-fit — Frontend Architecture & Web Platform
- CSS Subgrid: Inheriting Track Sizing Across Nested Layouts — Frontend Architecture & Web Platform