Narleaf Layout example · Blog ← All examples

Essay · Layout

The quiet power of a small grid

Most layouts fail in the gaps, not the boxes. A grid is the agreement about where those gaps live, and the smaller that agreement is, the longer it survives.

Start with the grid

Twelve columns divide evenly by two, three, four and six. That single fact explains most of its popularity. Everything else is a question of which classes you allow yourself to write.

Every class should say what it does, where it goes, and when it applies.

Vertical rhythm

Horizontal structure is only half the story. Pick a base unit, usually eight pixels, and derive every gap and padding from it. Consistency reads as quality long before anyone can say why.

Fig. 1 — A page built from three gap values and a single container.

In practice

A card row that is one column on phones, two on tablets and three on desktops needs three classes:

<div class="nar-grid nar-gap-auto">
  <article class="nar-span-12 nar-span-md-6 nar-span-lg-4">…</article>
</div>
  • Mobile first: no breakpoint means “always”.
  • Larger breakpoints only override what changes.
  • Long words never break the grid, because children can shrink.

Closing thoughts

A small vocabulary is easier to teach, easier to review and easier to delete. That is the whole argument.