Skip to content

Instantly share code, notes, and snippets.

@vishaltelangre
Forked from nex3/gist:1163471
Last active December 15, 2015 00:59
Setting selector name dynamically in SASS
@mixin active($selector) {
#{$selector} {
color:black;
}
}
#my-id {
@include active($selector: ".my-class")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment