Created
April 21, 2017 10:51
-
-
Save seven-phases-max/a31c62a25e31657f13d3bcfd33930025 to your computer and use it in GitHub Desktop.
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
.FluidGutter(@property, @top, @right, @bottom, @left, @vertical, @horizontal, @all) when | |
(@property = margin), | |
(@property = padding) { | |
.MakeFluidGutter() when (% either of trbl is not 0 %) { | |
.MakeGutter(@property, @top @right @bottom @left); | |
} | |
.MakeFluidGutter() when (% trbl are 0 and all is not %) { | |
.MakeGutter(@property, @vertical @horizontal @vertical @horizontal); | |
} | |
.MakeFluidGutter() when (% trbl are 0 and vh are not %) { | |
.MakeGutter(@property, @all @all @all @all); | |
} | |
.MakeFluidGutter(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment