Grid & Breakpoints

The grid is a 12-column fluid grid with a max width of 960px, that shrinks with the browser/device at smaller sizes. The syntax is simple and it makes coding responsive much easier. Go ahead, resize the browser.

At resolutions < 1024px, the max width of the grid is set to 90%

At < 600px, the small (mobile) break point kicks in, for anything larger target the large breakpoint. On rare occasions you may need to target the full breakpoint (>1024px).

The gutters are set to 16px and each column layout is calculated in percentages.

The grid and therefore everything is mobile first design. So code everything for the mobile view,and then override that for the desktop view. Media queries should always use min-width to maintainconsistency with the grid. Also, place small first, then large, then full in your css as they all havethe same css specificity and that means the later ones apply over the former ones .

@media screen and (min-width: $small-break) {
  font-size: .75rem;
}
@media screen and (min-width: $large-break) {
  font-size: 1rem;
}
@media screen and (min-width: $full-break) {
  font-size: 2rem;
}

This example uses the same column number classes for large and small sizes. It will retain its arrangement when you resize the browser or go mobile. For additional documentation visit Basic Grid.

One
Eleven
Two
Ten
Three
Nine
Four
Eight
Five
Seven
Six
Six
Seven
Five
Eight
Four
Nine
Three
Ten
Two
Eleven
One
Twelve

Examples on how the break points work below.

Full 4 Large 6 Small 12
Full 6 Large 8 Small 12
Full 8 Large 10 Small 12
Full 10 Large 12 Small 12
Full 12 Large 12 Small 12

basic grid also has hide-on-{size} and show-on-{size}

hide-on-small show-on-large
show-on-small hide-on-large show-on-full
Our current grid
960px wide but only 944px usable space, but rows center, yellow indicates the padding on a column
64px
64px
How Bootstrap works
960px wide, 960px usable space since negative margins on rows, but needs a wrapper class around the rows to center them
65.33px
65.33px
How our grid would work when wider
976px wide, 960px usable space
65.33px
65.33px