Skip to content

Instantly share code, notes, and snippets.

@hagenburger
Created January 23, 2014 11:55
Show Gist options
  • Save hagenburger/8577410 to your computer and use it in GitHub Desktop.
Save hagenburger/8577410 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.3.0.rc.2)
// Compass (v1.0.0.alpha.17)
// ----
%some-extendable {
width: 50%;
}
.some-class-name {
@extend %some-extendable
}
// You could still do
.under-a-specific-context {
%some-extendable {
width: 35%;
}
}
.some-class-name {
width: 50%;
}
.under-a-specific-context .some-class-name {
width: 35%;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment