fr unit

A CSS Grid unit meaning one share of the space left after fixed-size tracks and gaps have been taken out.

In more detail

Fixed tracks and gaps are subtracted first, then the rest is divided by the total number of fr. grid-template-columns: 200px 1fr 2fr gives the first column 200px and splits the rest one part to two parts.

Related terms

Taught in

References