Skip to content
BENIBIX Learn

Grid System

Design🧭 FoundationsLayout and Grids

Also known as Layout Grid, Design Grid, 12-Column Grid

Hidden rows and columns on a page. They keep things lined up.

Think of it like

It is like the lines in a notebook. They help you write in neat rows.

Example

A news site uses a twelve-column grid. A main story spans eight columns, and a side list spans four.

Why it matters

A grid makes many pages look like one set. It also makes each new page quick to lay out.

Definition

A grid system is a set of hidden lines that splits a page into columns and rows. Designers place text and images along those lines. It keeps sizes and gaps the same from page to page. Websites often use twelve columns, because twelve splits into halves, thirds and quarters. The reader never sees the grid, only the order it brings.

Example code

css
.page {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
Twelve equal columns with a 24px gap between them, in CSS.
Every grid has three parts. They are the columns, the gaps and the side margins.

Common mistake

Treating the grid as a cage. It is a guide, and a picture can break out of it on purpose.

Key takeaways

  1. 1
    Hidden lines. Columns, rows, gutters and margins.
  2. 2
    Twelve is common. It splits into halves, thirds and quarters.
  3. 3
    A guide, not a cage. Break it on purpose only.

Learn it properly