Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Sass more variables
.element {
font-family: Helvetica, Arial;
color: #ffffff;
background-color: #000000;
border: 1px dashed grey;
// ----
// Sass (v3.4.9)
// Compass (v1.0.1)
// ----
$black: #000000;
$white: #ffffff;
$grey: grey;
$default_margin: 1em;
$default_border_style: 1px dashed $grey;
$default_font_style: Helvetica, Arial;
.element {
font-family: $default_font_style;
color: $white;
background-color: $black;
border: $default_border_style;
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.