Skip to content

Instantly share code, notes, and snippets.

@hagenburger
Created August 21, 2014 12:15
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 hagenburger/655040ac104bf66723a7 to your computer and use it in GitHub Desktop.
Save hagenburger/655040ac104bf66723a7 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.3.14)
// Compass (v1.0.0)
// ----
$gap: 20px;
.my-class {
margin: 10px -$gap;
// vs.
margin: 10px (-$gap);
// vs.
margin: 10px -#{$gap};
}
.my-class {
margin: -10px;
margin: 10px -20px;
margin: 10px -20px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment