2026-11-08·by Sijie Wang

twelve-column-grid

A twelve-column grid splits the page into 12 equal columns, re-mapped to 8 on tablet and 4 on phone, governing large structure while bleed, overlays, and small details follow their own rules.

What it is

A twelve-column grid splits the page width into 12 equal columns. Content is placed by how many columns it spans, not by an arbitrary pixel position. A block that spans 6 columns takes half the width; a block that spans 4 columns takes one third; a block that spans 3 columns takes one quarter.

The width of one column follows from the content width and the gutter, the gap between columns:

column width=content width−11×gutter12\text{column width} = \frac{\text{content width} - 11 \times \text{gutter}}{12}

There are 11 gutters between 12 columns. The formula matters because it shows the mechanism: the grid is a division of the available width, not a set of fixed pixel positions. Change the content width and every column changes with it, so the same span rules keep working at any screen size.

Why 12

12 is divisible by 2, 3, 4, and 6, so the common layouts all compose from the same grid without leftover columns: two columns as 6 + 6, three columns as 4 + 4 + 4, four columns as 3 + 3 + 3 + 3, and a sidebar plus main content as 4 + 8 or 3 + 9. A 10-column grid cannot split evenly into thirds; a 16-column grid can, but its spans are harder to reason about and its halves and thirds do not line up as cleanly. 12 is the smallest number that covers halves, thirds, quarters, and sixths at once, which is why it became the standard.

The mechanism solves a coordination problem. Without a shared grid, every section of a page invents its own left edge and its own column widths, so sections that should line up do not, and a layout that looks fine on one screen falls apart on another. With a shared grid, every section measures from the same columns, so alignment is automatic and a layout can be re-expressed at a narrower width by changing spans instead of redesigning the page.

Breakpoints: 12, 8, 4

The column count changes with screen width, while the idea stays the same: desktop uses 12 columns, tablet uses 8 columns, and phone uses 4 columns. Content keeps side margins at every width, so text never touches the screen edge. On wide screens the content area has a maximum width and is centered, so lines do not grow indefinitely and the grid does not stretch into unreadably wide columns.

Changing the column count is a re-mapping, not a redesign. A block that spans 4 of 12 columns on desktop spans 4 of 8 columns on tablet and 4 of 4 columns on phone. The span number can stay the same while the fraction of the width it covers changes, which is exactly how a three-across row becomes a two-across row and then a single column.

What the grid governs, and what it does not

The grid governs large structure: sections and columns. It does not govern every pixel.

Full-bleed elements may bleed edge to edge: backgrounds, banner images, and dividers. Their outer edge ignores the grid, but their inner text still aligns to the grid, so the bleed looks deliberate and the text still lines up with the rest of the page.

Overlays float above the grid: cards, modals, floating buttons, and toasts. They are positioned by their own rules, for example centered on screen or anchored to a corner, not by column spans.

Small details need not align: icons, small labels, and inline elements. Forcing them onto a column boundary adds constraint without adding alignment that anyone can see.

Intentionally breaking the grid is a design choice, but it must be intentional. A quote that extends beyond the text column, or an image that bleeds past it, works when it is done once, on purpose, to create emphasis. The same break done by accident, because a container has a different margin from its neighbours, reads as a mistake.

Lucerna example

On the Lucerna bookshelf page, each book card spans 4 columns on desktop, so three cards sit in a row as 4 + 4 + 4. On tablet the grid has 8 columns, so two cards sit in a row, each still spanning 4 columns. On phone the grid has 4 columns, so one card fills the row, spanning all 4 columns. The content is the same at every width; only the span mapping changes.

On the Lucerna reading page, the main text and its side content use a sidebar-plus-main split on desktop, for example 8 columns for the text and 4 for the side content. On phone the same content stacks: the text takes all 4 columns and the side content follows below it, also taking all 4 columns. The reading order is preserved because the grid re-mapping keeps the source order and only changes the spans.

Good and bad examples

GOOD — The bookshelf uses 4 + 4 + 4 on desktop and collapses to 4 columns on phone with the same content. Nothing is redesigned and nothing is dropped; the row simply re-flows from three across to one across.

GOOD — A banner bleeds full width while its headline still sits on a grid column. The background reaches both edges, but the headline's left edge lines up with the headlines and cards below it, so the page still reads as one aligned column of content.

GOOD — A pull quote extends beyond the text column once, on purpose, to mark a key sentence. It is the only break on the page, so it reads as emphasis rather than error.

BAD — Every element is nudged to a slightly different left edge, so nothing lines up. Each section looks close to aligned, but the eye catches a dozen different starting points and the page feels untidy even though no single element is far off.

BAD — A small inline icon is forced onto a column boundary for no reason. The icon moves a few pixels to satisfy the grid, but no alignment is visible at that size, and the spacing around the icon becomes uneven as a result.

BAD — A quote "breaks the grid" by accident because its container has a different margin from the surrounding text. It looks like the quote is misaligned rather than emphasized, because the break has no reason and nothing else on the page breaks the same way.

Summary

Split the width into 12 equal columns, place content by span, re-map spans at 8 columns on tablet and 4 on phone, keep side margins and a centered maximum width, and let the grid govern large structure only. Bleed, overlays, and small details follow their own rules, and any break of the grid must be intentional.

about this entry

One of sijie's wiki entries. The AI on this site is grounded in the same corpus and answers in sijie's voice, with citations back to entries like this one — answering costs sijie money, so it waits behind a code: enter an access code →

twelve-column-grid — Sijie Wang