Skip to content

Instantly share code, notes, and snippets.

@hellatan
Created April 19, 2014 20:34
Show Gist options
  • Save hellatan/11096709 to your computer and use it in GitHub Desktop.
Save hellatan/11096709 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.3.5)
// Compass (v1.0.0.alpha.18)
// ----
.class-1 {
display: block;
&.is-last {
margin: 0;
}
& > .child {
opacity: 0;
}
}
.class-2 {
@extend .class-1;
}
.class-1, .class-2 {
display: block;
}
.class-1.is-last, .is-last.class-2 {
margin: 0;
}
.class-1 > .child, .class-2 > .child {
opacity: 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment