Skip to content

Instantly share code, notes, and snippets.

@jackie
Created June 4, 2014 21:04
Show Gist options
  • Save jackie/e6cf282a88d3b58a61c1 to your computer and use it in GitHub Desktop.
Save jackie/e6cf282a88d3b58a61c1 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.3.7)
// Compass (v1.0.0.alpha.18)
// ----
%a {
color: red;
&-suffix {
display: none; // does not get extended
}
}
%b {
color: blue;
&:before {
display: none; // gets extended
}
}
.a-extend {
@extend %a;
}
.b-extend {
@extend %b;
}
.a-extend {
color: red;
}
.b-extend {
color: blue;
}
.b-extend:before {
display: none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment