Skip to content

Instantly share code, notes, and snippets.

@JohnAlbin
Created May 28, 2014 01:08
Show Gist options
  • Save JohnAlbin/b4329a2a4fb4a5caf1f2 to your computer and use it in GitHub Desktop.
Save JohnAlbin/b4329a2a4fb4a5caf1f2 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.3.7)
// Compass (v1.0.0.alpha.18)
// ----
.component,
%component {
content: 'component';
&--variant {
content: 'variant';
}
&__element {
content: 'element';
}
}
// Fugly selectors.
.my-fugly-selector {
@extend %component__element;
}
.component {
content: 'component';
}
.component--variant {
content: 'variant';
}
.component__element,
.my-fugly-selector {
content: 'element';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment