Skip to content

Instantly share code, notes, and snippets.

@jeffkamo
Created November 19, 2014 02:15
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 jeffkamo/c06688abd91d0c255e1c to your computer and use it in GitHub Desktop.
Save jeffkamo/c06688abd91d0c255e1c to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.4.7)
// Compass (v1.0.1)
// ----
.c-button,
%c-button {
color: red;
}
.c-callout {
@extend %c-button; // At first glance, this might not look dangerous
color: blue;
}
.t-home .cta .c-button { // seems pretty innocent still, right?
color: green;
}
.t-pdp .cta .c-button {
@extend %c-button
}
.t-about .form [type="submit"] {
@extend %c-button
}
.t-checkout .form .payment .field .row button {
@extend %c-button
}
.c-button,
.c-callout,
.t-pdp .cta .c-button,
.t-about .form [type="submit"],
.t-checkout .form .payment .field .row button {
color: red;
}
.c-callout {
color: blue;
}
.t-home .cta .c-button {
color: green;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment