Skip to content

Instantly share code, notes, and snippets.

@bensmithett
Created August 24, 2014 01:22
Show Gist options
  • Save bensmithett/6775793c9893e677332c to your computer and use it in GitHub Desktop.
Save bensmithett/6775793c9893e677332c to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
<a am-Button am-type="downcase">Foo!</a>
// ----
// Sass (v3.3.14)
// Compass (v1.0.0)
// ----
[am-type~="downcase"] { text-transform: lowercase; }
[am-type~="upcase"] { text-transform: uppercase; }
[am-Button] {
@extend [am-type~="upcase"];
color: red;
}
[am-type~="downcase"] {
text-transform: lowercase;
}
[am-type~="upcase"], [am-Button] {
text-transform: uppercase;
}
[am-Button] {
color: red;
}
<a am-Button am-type="downcase">Foo!</a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment