Skip to content

Instantly share code, notes, and snippets.

@samueljseay
Last active August 29, 2015 14:16
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 samueljseay/9853ecb5fed2284f78b4 to your computer and use it in GitHub Desktop.
Save samueljseay/9853ecb5fed2284f78b4 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
<div class='color'></div>
<div class='color-dark'></div>
<div class='color-darker'></div>
// ----
// Sass (v3.4.12)
// Compass (v1.0.3)
// ----
$color: #0062ae;
$color-20: shade($color, 20%);
$color-40: shade($color, 40%);
.color {
background-color: $color;
height: 50px;
width: 50px;
margin: 10px;
}
.color-dark {
background-color: $color-20;
height: 50px;
width: 50px;
margin: 10px;
}
.color-darker {
background-color: $color-40;
height: 50px;
width: 50px;
margin: 10px;
}
.color {
background-color: #0062ae;
height: 50px;
width: 50px;
margin: 10px;
}
.color-dark {
background-color: #004e8b;
height: 50px;
width: 50px;
margin: 10px;
}
.color-darker {
background-color: #003a68;
height: 50px;
width: 50px;
margin: 10px;
}
<div class='color'></div>
<div class='color-dark'></div>
<div class='color-darker'></div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment