Skip to content

Instantly share code, notes, and snippets.

@kevinruscoe
Created October 18, 2015 16:57
Show Gist options
  • Save kevinruscoe/0a4b1482b031ed0dd2cb to your computer and use it in GitHub Desktop.
Save kevinruscoe/0a4b1482b031ed0dd2cb to your computer and use it in GitHub Desktop.
@custom-media --small-up (width >= 34em);
@custom-media --medium-up (width >= 48em);
@custom-media --large-up (width >= 62em);
@custom-media --extra-large-up (width >= 75em);
@lost gutter 30px;
.container {
width: 100%;
}
.row {
lost-utility: clearfix;
margin-bottom: 1em;
@for $i from 1 to 12 {
.col-xs-$i {
lost-column: $i/12;
}
}
}
@media(--small-up){
.container {
width: 34rem;
}
.row {
@for $i from 1 to 12 {
.col-sm-$i {
lost-column: $i/12;
}
}
}
}
@media(--medium-up){
.container {
width: 45rem;
}
.row {
@for $i from 1 to 12 {
.col-md-$i {
lost-column: $i/12;
}
}
}
}
@media(--large-up){
.container {
width: 60rem;
}
.row {
@for $i from 1 to 12 {
.col-lg-$i {
lost-column: $i/12;
}
}
}
}
@media(--extra-large-up){
.container {
width: 72.25rem;
}
.row {
@for $i from 1 to 12 {
.col-xl-$i {
lost-column: $i/12;
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment