Grid

We use a grid to structure our designs. Just like the typography and vertical spacing we use, our grid allows the creation of a consistent horizontal space.

Grid

Our grid has 12 columns that can be used in various combinations. It has gutters of 32px above 768px and 16px below 768px. We recommend its use because it has been designed to suit our typography.

Viewport sizes

The grid column widths can be changed using css classes. The default widths we use are:

  • All: 0px and up — (all-{column-span})
  • Extra small: 320px and up — (.xsmall-{column-span})
  • Small: 480px and up — ((.small-{column-span})
  • Medium: 750px and up — ((.medium-{column-span})
  • Large: 960px and up — ((.large-{column-span})
  • Extra large: 1300px and up — ((.xlarge-{column-span})

Example

See the code for the grid

Centering columns

Columns can be set to centred or uncentered at different viewport sizes.

See the code for the centered grid

Offsetting columns

Columns can be offset by a specified amount of columns from the left hand side.

See the code for the offset grid

Re-ordering columns

Columns can be re-ordered by pushing and pulling them relative to their base position.

First in the source code
Last in the source code

See the code for re-ordering columns

Collapsed columns

Collapsed columns have their padding removed. Columns can be collapsed individually, or whole rows can be collapsed at once by adding the class .collapse to a column or row.

.all-6 .collapse
.all-6
.all-6 (.collapse on .row)
.all-6 (.collapse on .row)

See the code for collapsing the grid

More information

For more information on using the grid, see the front-end toolkit code, try it out using the prototyping kit or see the grid collection on Codepen

Feedback

Did you find what you were looking for?