Skip to content

Instantly share code, notes, and snippets.

@edwardoriordan
Created May 13, 2013 12:47
Show Gist options
  • Save edwardoriordan/5568081 to your computer and use it in GitHub Desktop.
Save edwardoriordan/5568081 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com, the Sass playground.
// ---
// Sass (v3.2.9)
// ---
#foo {
$width: 100px;
width: $width;
background-position: ($width - 20px) center;
}
#foo.bar {
$width: 50px;
background-position: ($width - 20px) center;
}
#foo {
width: 100px;
background-position: 80px center;
}
#foo.bar {
background-position: 30px center;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment