Skip to content

Instantly share code, notes, and snippets.

@paulfarino
Created November 10, 2017 04:35
Show Gist options
  • Save paulfarino/6ded837457bf792d440fbd9d5a7eeaf5 to your computer and use it in GitHub Desktop.
Save paulfarino/6ded837457bf792d440fbd9d5a7eeaf5 to your computer and use it in GitHub Desktop.
Simple CSS Grid, Grid
.wrapper {
display: grid;
grid-template-columns: repeat(12, 1fr);
grid-gap: 10px;
}
@for $i from 1 through 12 {
.col-#{$i} {
grid-column: span #{$i};
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment