Skip to content

Instantly share code, notes, and snippets.

@indieisaconcept
Created December 11, 2013 12:34
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 indieisaconcept/7909662 to your computer and use it in GitHub Desktop.
Save indieisaconcept/7909662 to your computer and use it in GitHub Desktop.
Example of variable overrides with .scss, highlighting that variables are not emuatable
<div class="box"></div>
// ----
// Sass (v3.3.0.rc.1)
// Compass (v0.13.alpha.10)
// ----
$box-background-color: red;
$box-background-color: blue !default;
$box-background-color: green;
.box {
background: $box-background-color;
width: 100px;
height: 100px;
}
.box {
background: green;
width: 100px;
height: 100px;
}
<div class="box"></div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment