Created
July 22, 2014 10:13
-
-
Save vitto/667446cd75926162a2c7 to your computer and use it in GitHub Desktop.
Frontsize - Example for addPaddingRule mixin
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
@hdFullPadding : 6em 3em; | |
@hdReadyPadding : 5em 3em; | |
@tabletLandscapePadding : 4em 2em; | |
@tabletPortraitPadding : 3em 2em 1em 2em; | |
@smartphoneLandscapePadding : 2em 2em 1em 2em; | |
@smartphonePortraitPadding : 1em; | |
.addPaddingRule( | |
my-padding-rule, | |
@hdFullPadding, | |
@hdReadyPadding, | |
@tabletLandscapePadding, | |
@tabletPortraitPadding, | |
@smartphoneLandscapePadding, | |
@smartphonePortraitPadding | |
); |
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
<div class="my-padding-rule"></div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment