Created
September 2, 2015 20:45
-
-
Save gearsdigital/547322b2b0357a2a838e to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains hidden or 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
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
$total-columns: 12; | |
%grid { | |
float:left; | |
margin:0; | |
padding:0 2%; | |
} | |
@for $i from 1 through $total-columns { | |
.col-xs-#{$i} { | |
@extend %grid; | |
width: ($i / $total-columns) * 100%; | |
} | |
} |
This file contains hidden or 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
.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 { | |
float: left; | |
margin: 0; | |
padding: 0 2%; | |
} | |
.col-xs-1 { | |
width: 8.33333%; | |
} | |
.col-xs-2 { | |
width: 16.66667%; | |
} | |
.col-xs-3 { | |
width: 25%; | |
} | |
.col-xs-4 { | |
width: 33.33333%; | |
} | |
.col-xs-5 { | |
width: 41.66667%; | |
} | |
.col-xs-6 { | |
width: 50%; | |
} | |
.col-xs-7 { | |
width: 58.33333%; | |
} | |
.col-xs-8 { | |
width: 66.66667%; | |
} | |
.col-xs-9 { | |
width: 75%; | |
} | |
.col-xs-10 { | |
width: 83.33333%; | |
} | |
.col-xs-11 { | |
width: 91.66667%; | |
} | |
.col-xs-12 { | |
width: 100%; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment