Skip to content

Instantly share code, notes, and snippets.

@bertBruynooghe
Forked from dangayle/sassvariablescope.scss
Created February 6, 2012 20:10
Show Gist options
  • Save bertBruynooghe/1754511 to your computer and use it in GitHub Desktop.
Save bertBruynooghe/1754511 to your computer and use it in GitHub Desktop.
Override SASS variable scope?
$mid:#66CCFF;
$dark:darken($mid, 40%);
a{
color:$mid;
&:hover{color:dark;}
}
@media only screen and (max-width: 767px) {
$mid:#22CCFF;
a{
color:$mid;
&:hover{color:dark;}
}
}
a{color:$mid;}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment