Created
March 30, 2015 10:04
-
-
Save koluku/279a453cfc538740b1f4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.row { | |
@include clearfix; | |
clear: both; | |
} | |
@for $i from 1 through 12 { | |
.col-xs-#{$i} { | |
@media screen and (max-width: $screen-xs-min) { | |
width: percentage($i/12); | |
float: left; | |
} | |
} | |
} | |
@for $i from 1 through 12 { | |
.col-sm-#{$i} { | |
@media screen and (min-width: $screen-xs-min) { | |
width: percentage($i/12); | |
float: left; | |
} | |
} | |
} | |
@for $i from 1 through 12 { | |
.col-md-#{$i} { | |
@media screen and (min-width: $screen-sm-min) { | |
width: percentage($i/12); | |
float: left; | |
} | |
} | |
} | |
@for $i from 1 through 12 { | |
.col-lg-#{$i} { | |
@media screen and (min-width: $screen-md-min) { | |
width: percentage($i/12); | |
float: left; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment