Created
September 15, 2017 14:44
-
-
Save seanwalsh/f3db03cb1e3bd4cfce7e0b7bb220a09b to your computer and use it in GitHub Desktop.
loop through sass map
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
@each $item in $map { | |
$key: nth($item, 1); | |
$value: nth($item, 2); | |
@if $value != FALSE { | |
#{$key}: $value; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment