Skip to content

Instantly share code, notes, and snippets.

@jordanthomas
Created May 28, 2014 15:00
Show Gist options
  • Save jordanthomas/8eb9eacd4957eaf836d0 to your computer and use it in GitHub Desktop.
Save jordanthomas/8eb9eacd4957eaf836d0 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
<div class="one">&nbsp;</div>
<div class="two">&nbsp;</div>
// ----
// Sass (v3.3.7)
// Compass (v1.0.0.alpha.18)
// ----
$base: #fffcca;
$darkerFunc: darken($base, 2%);
$hslFunc: hsl(hue($base), saturation($base), lightness($base) * 0.98);
.one {
background: $darkerFunc;
}
.two {
background: $hslFunc;
}
.one {
background: #fffbc0;
}
.two {
background: #fffbc1;
}
<div class="one">&nbsp;</div>
<div class="two">&nbsp;</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment