Table of Contents

Units of Measure

—the ways we describe size, scale,
and proportion in CSS

Units of measure are how we express how big something should be
— not as exact numbers, but as relationships.

Each unit carries a different mental model.
When we choose a unit,
we choose how the element should behave as the environment changes.

Units are not syntax.
They are intent.

Absolute Units

fixed, unmoving, precise

Use when you want something to stay the same size everywhere.

Relative Units

scaling with context, typography, or the viewport

Use when you want elements to scale with typography or structure.

Viewport Units

responsive to the size of the screen

Use when you want elements to adapt fluidly to screen size.

Fractional Units

for grid layouts

Use when you want proportional distribution without math.


Why Units of Measure matter when working with AI

AI can generate correct CSS
but still miss the intention behind a unit.

When we name the unit, we tell AI:

Units are how we express behavior,
not just size
.



Tony de Araujo —New York | Lisbon