Created
December 9, 2013 17:15
-
-
Save jewlofthelotus/7876141 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.3.0.rc.1) | |
// Compass (v0.13.alpha.10) | |
// ---- | |
// Horizontal Spacing | |
@mixin margin--horz($left, $right: $left) { | |
margin-left: $left; | |
margin-right: $right; | |
} | |
@mixin padding--horz($left, $right: $left) { | |
padding-left: $left; | |
padding-right: $right; | |
} | |
.element { | |
@include margin--horz(1em); | |
@include padding--horz(2em, 4em); | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.element { | |
margin-left: 1em; | |
margin-right: 1em; | |
padding-left: 2em; | |
padding-right: 4em; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment