Created
September 26, 2022 15:14
-
-
Save gecugamo/d18548092e9b7c97b313ad4fd030fde7 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
$sizes: 'xs', 'sm', 'md', 'lg'; | |
@each $size in $sizes { | |
@for $i from 1 through 12 { | |
$width: 100% / 12 * $i; | |
.col-#{$size}-#{$i} { | |
max-width: $width; | |
flex-basis: $width; | |
} | |
} | |
} |
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 { | |
max-width: 8.3333333333%; | |
flex-basis: 8.3333333333%; | |
} | |
.col-xs-2 { | |
max-width: 16.6666666667%; | |
flex-basis: 16.6666666667%; | |
} | |
.col-xs-3 { | |
max-width: 25%; | |
flex-basis: 25%; | |
} | |
.col-xs-4 { | |
max-width: 33.3333333333%; | |
flex-basis: 33.3333333333%; | |
} | |
.col-xs-5 { | |
max-width: 41.6666666667%; | |
flex-basis: 41.6666666667%; | |
} | |
.col-xs-6 { | |
max-width: 50%; | |
flex-basis: 50%; | |
} | |
.col-xs-7 { | |
max-width: 58.3333333333%; | |
flex-basis: 58.3333333333%; | |
} | |
.col-xs-8 { | |
max-width: 66.6666666667%; | |
flex-basis: 66.6666666667%; | |
} | |
.col-xs-9 { | |
max-width: 75%; | |
flex-basis: 75%; | |
} | |
.col-xs-10 { | |
max-width: 83.3333333333%; | |
flex-basis: 83.3333333333%; | |
} | |
.col-xs-11 { | |
max-width: 91.6666666667%; | |
flex-basis: 91.6666666667%; | |
} | |
.col-xs-12 { | |
max-width: 100%; | |
flex-basis: 100%; | |
} | |
.col-sm-1 { | |
max-width: 8.3333333333%; | |
flex-basis: 8.3333333333%; | |
} | |
.col-sm-2 { | |
max-width: 16.6666666667%; | |
flex-basis: 16.6666666667%; | |
} | |
.col-sm-3 { | |
max-width: 25%; | |
flex-basis: 25%; | |
} | |
.col-sm-4 { | |
max-width: 33.3333333333%; | |
flex-basis: 33.3333333333%; | |
} | |
.col-sm-5 { | |
max-width: 41.6666666667%; | |
flex-basis: 41.6666666667%; | |
} | |
.col-sm-6 { | |
max-width: 50%; | |
flex-basis: 50%; | |
} | |
.col-sm-7 { | |
max-width: 58.3333333333%; | |
flex-basis: 58.3333333333%; | |
} | |
.col-sm-8 { | |
max-width: 66.6666666667%; | |
flex-basis: 66.6666666667%; | |
} | |
.col-sm-9 { | |
max-width: 75%; | |
flex-basis: 75%; | |
} | |
.col-sm-10 { | |
max-width: 83.3333333333%; | |
flex-basis: 83.3333333333%; | |
} | |
.col-sm-11 { | |
max-width: 91.6666666667%; | |
flex-basis: 91.6666666667%; | |
} | |
.col-sm-12 { | |
max-width: 100%; | |
flex-basis: 100%; | |
} | |
.col-md-1 { | |
max-width: 8.3333333333%; | |
flex-basis: 8.3333333333%; | |
} | |
.col-md-2 { | |
max-width: 16.6666666667%; | |
flex-basis: 16.6666666667%; | |
} | |
.col-md-3 { | |
max-width: 25%; | |
flex-basis: 25%; | |
} | |
.col-md-4 { | |
max-width: 33.3333333333%; | |
flex-basis: 33.3333333333%; | |
} | |
.col-md-5 { | |
max-width: 41.6666666667%; | |
flex-basis: 41.6666666667%; | |
} | |
.col-md-6 { | |
max-width: 50%; | |
flex-basis: 50%; | |
} | |
.col-md-7 { | |
max-width: 58.3333333333%; | |
flex-basis: 58.3333333333%; | |
} | |
.col-md-8 { | |
max-width: 66.6666666667%; | |
flex-basis: 66.6666666667%; | |
} | |
.col-md-9 { | |
max-width: 75%; | |
flex-basis: 75%; | |
} | |
.col-md-10 { | |
max-width: 83.3333333333%; | |
flex-basis: 83.3333333333%; | |
} | |
.col-md-11 { | |
max-width: 91.6666666667%; | |
flex-basis: 91.6666666667%; | |
} | |
.col-md-12 { | |
max-width: 100%; | |
flex-basis: 100%; | |
} | |
.col-lg-1 { | |
max-width: 8.3333333333%; | |
flex-basis: 8.3333333333%; | |
} | |
.col-lg-2 { | |
max-width: 16.6666666667%; | |
flex-basis: 16.6666666667%; | |
} | |
.col-lg-3 { | |
max-width: 25%; | |
flex-basis: 25%; | |
} | |
.col-lg-4 { | |
max-width: 33.3333333333%; | |
flex-basis: 33.3333333333%; | |
} | |
.col-lg-5 { | |
max-width: 41.6666666667%; | |
flex-basis: 41.6666666667%; | |
} | |
.col-lg-6 { | |
max-width: 50%; | |
flex-basis: 50%; | |
} | |
.col-lg-7 { | |
max-width: 58.3333333333%; | |
flex-basis: 58.3333333333%; | |
} | |
.col-lg-8 { | |
max-width: 66.6666666667%; | |
flex-basis: 66.6666666667%; | |
} | |
.col-lg-9 { | |
max-width: 75%; | |
flex-basis: 75%; | |
} | |
.col-lg-10 { | |
max-width: 83.3333333333%; | |
flex-basis: 83.3333333333%; | |
} | |
.col-lg-11 { | |
max-width: 91.6666666667%; | |
flex-basis: 91.6666666667%; | |
} | |
.col-lg-12 { | |
max-width: 100%; | |
flex-basis: 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
{ | |
"sass": { | |
"compiler": "dart-sass/1.32.12", | |
"extensions": {}, | |
"syntax": "SCSS", | |
"outputStyle": "expanded" | |
}, | |
"autoprefixer": false | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment