Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Sass variables
.element {
color: #ffffff;
background-color: #000000;
border: 1px solid grey;
}
// ----
// Sass (v3.4.9)
// Compass (v1.0.1)
// ----
$black: #000000;
$white: #ffffff;
$grey: grey;
.element {
color: $white;
background-color: $black;
border: 1px solid $grey;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.