-
-
Save jkochis/4aa0c58032c2d671db1a to your computer and use it in GitHub Desktop.
SCSS For Loop
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
@for $i from 1 through 8 { | |
$width: percentage(1 / $i) | |
.col-#{$i} { | |
width: $width; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment