Skip to content

Instantly share code, notes, and snippets.

@iamcarrico
Created June 16, 2015 20:30
Show Gist options
  • Save iamcarrico/76b64cf4a3a1b8adebce to your computer and use it in GitHub Desktop.
Save iamcarrico/76b64cf4a3a1b8adebce to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
<div class="button">Apples</div>
<div class="button-green">Bananas</div>
// ----
// Sass (v3.4.14)
// Compass (v1.0.3)
// ----
@mixin margin($dir,$value) {
margin-#{$dir}: $value;
}
.tester {
@include margin(left,40px);
}
.tester {
margin-left: 40px;
}
<div class="button">Apples</div>
<div class="button-green">Bananas</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment