Responsive
Grid
Col One
Col Two
Col Three
Col Four

SASS Responsive Custom Grid

Benefits:

First, define your grids using the SASS mixin. You specify the selector (class or ID) and the column definitions for different breakpoints (xxs, xs, xm, md, lg)

  @include grids((
    ('.responsive-four-col-grid', (md:(3, 3, 3, 3), sm:(6, 6, 6, 6))),
    ('.responsive-nested-grid', (md:(4, 4, 4))),
    ('.two-col-grid', (sm:(6, 6))),
  ));
  

Then simply use your grids in your HTML:

<div class="responsive-four-col-grid">
  <div>Col One</div>
  <div>Col Two</div>
  <div>Col Three</div>
  <div>Col Four</div>
</div>

View on GitHub

Simple responsive grid

Medium screen: 1 row, 4 equal columns

Small screen: 2 rows, 2 equal columns per row

Col One
Col Two
Col Three
Col Four

Nested responsive grid

Nest as deep as you like

Sub Col 1
Sub Col 2
Sub Col 3
Sub Col 4
Col Two
Sub Sub
Sub Sub
Sub Col 2