Created
July 6, 2014 20:22
-
-
Save metaskills/0a59c2a6d6ce7d7ff29e to your computer and use it in GitHub Desktop.
Solved In Sass 3.4?
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
@mixin suit-desc($names...) { | |
$_selectors: (); | |
@each $_name in $_names { | |
$_selector: &-#{$_name}; | |
$_selectors: append($_selectors, $_selector, comma); | |
} | |
@at-root #{$_selectors} { @content; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment