Table of Contents

CSS Spacing

—the breathing room inside and around elements

Spacing is how a layout breathes.
It is the quiet force that shapes comfort, clarity, and rhythm.

In CSS, spacing appears in two forms:

Together, they create the emotional temperature of a page
— tight, open, calm, dense, or balanced.

Spacing tells us:

Spacing is not simply decoration.
It is structure made gentle.

When we understand spacing,
we can describe intentions clearly
.

Examples of what to say:

“Give this element more breathing room.”
“Tighten the spacing between these siblings.”
“Keep the internal padding but reduce the external margin.”
“Let the spacing express the hierarchy.”

Spacing is the simplest way to change
how a layout feels
without changing its meaning
.


Why Spacing matters when working with AI

AI can generate correct CSS
while still missing the tone of the layout.
Spacing is how we guide that tone.

When we name the spacing, we tell AI:

This turns layout refinement into
a predictable collaboration.



Tony de Araujo —New York | Lisbon