Skip to content

Instantly share code, notes, and snippets.

@svenwin
Created October 15, 2014 11:09
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 svenwin/685dfbf1a67c474e6492 to your computer and use it in GitHub Desktop.
Save svenwin/685dfbf1a67c474e6492 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.4.5)
// Compass (v1.0.1)
// ----
@mixin honk($important:null) {
@if $important == true
{ $important: !important }
color: green $important;
}
.abc { @include honk; }
.xyz { @include honk($important: true); }
.abc {
color: green;
}
.xyz {
color: green !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment