Skip to content

Instantly share code, notes, and snippets.

@pdaoust
Created December 6, 2013 22:00
Show Gist options
  • Save pdaoust/7832826 to your computer and use it in GitHub Desktop.
Save pdaoust/7832826 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.3.0.rc.1)
// Compass (v0.13.alpha.10)
// ----
@mixin lighten-bg-color-by-10-percent($color) {
$lightened: lighten($color, 10%);
background-color: $lightened;
}
p {
@include lighten-bg-color-by-10-percent(tomato);
}
/* $lightened is #{$lightened} */
Undefined variable: "$lightened".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment