Skip to content

Instantly share code, notes, and snippets.

@gabskoro
Created February 20, 2016 18:33
Show Gist options
  • Save gabskoro/cecc80d09bb5eaaea1b4 to your computer and use it in GitHub Desktop.
Save gabskoro/cecc80d09bb5eaaea1b4 to your computer and use it in GitHub Desktop.
Custom grid
.grid {
display: table;
table-layout: fixed;
width: 100%;
}
.col {
display: table-cell;
}
.with-gutter {
border-spacing: 15px;
}
.grid-container {
margin-left: -15px;
margin-right: -15px;
}
/* Slim */
.grid-container
.grid.with-gutter
.col
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment