Skip to content

Fractional Units (fr)

Pixel columns are rigid.
Percent columns are fragile.

fr is Grid’s native power move: divide the remaining space into fractions.


fr stands for fraction of the available space inside the grid container.


Fractions don’t need to be equal.


Fixed sizes are calculated first.
Then the remainder becomes fraction territory.


Pixels define.
Fractions adapt.


📘 Grid Fractional Units - fr - Study Guide (PDF)

📘 Grid Fractional Units - fr - Infographic (PNG)

Infographic explaining CSS Flexbox direction and axes, showing how flex-direction defines the main axis and cross axis, with visual examples for row, row-reverse, column, and column-reverse, and how justify-content and align-items map to each axis.

Prevent your track definitions from becoming unmanageable.