Skip to content

Instantly share code, notes, and snippets.

@jackrugile
Created February 26, 2015 17:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jackrugile/b0fb3d97c00654895124 to your computer and use it in GitHub Desktop.
Save jackrugile/b0fb3d97c00654895124 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.3.14)
// Compass (v1.0.1)
// ----
@mixin specify($selector) {
@at-root {
#{selector-append($selector, &)} {
@content;
}
}
}
.button {
border: none;
// Qualify `.button` with `button`
@include specify(button) {
-webkit-appearance: none;
}
// Qualify `.button` with `a`
@include specify(a) {
text-decoration: none;
}
}
Invalid CSS after "...end($selector, ": expected function argument, was "&)} {"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment