Skip to content

Instantly share code, notes, and snippets.

@lachlanjc
Created April 3, 2016 05:51
Show Gist options
  • Save lachlanjc/836ee1981fdf67344207f7fc1f0eabeb to your computer and use it in GitHub Desktop.
Save lachlanjc/836ee1981fdf67344207f7fc1f0eabeb to your computer and use it in GitHub Desktop.
//---------------------------
// Grid object
//---------------------------
$__col-values: (4, 6, 8, 9, 12);
@media #{$breakpoint-sm} {
@each $size in $__col-values {
.col-#{$size}--sm {
width: ($size/12 * 100%);
}
}
}
@media #{$breakpoint-ns} {
@each $size in $__col-values {
.col-#{$size}--ns {
width: ($size/12 * 100%);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment