—the structural relationship
that gives a layout its shape
Every element on a page lives inside something.
A parent creates the context,
and a child lives within that context.
This relationship is the backbone of CSS
— the quiet structure that determines how
elements behave, align, and interact.
A parent:
A child:
More than hierarchy, this relationship is about meaning.
When we understand it,
we can describe structure with precision.
Examples of how to say it:
“Keep this child inside its parent.”
“Do not change the parent–child relationship.”
“Move the child, not the parent.”
“Let the parent grow to fit its children.”
The parent–child model is the simplest way to
understand how CSS builds the world.
AI needs to know where a change belongs.
When we name the parent and the child, we define:
This prevents accidental rewrites
and keeps the collaboration predictable.
Tony de Araujo —New York | Lisbon