Last active
December 4, 2015 14:33
-
-
Save Quantme/5bc72e5717cf7dbbd9b7 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains hidden or 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
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
$browser-context: 16; // Default | |
@function em($pixels, $context: $browser-context) { | |
@return #{$pixels/$context}em; | |
} | |
@function px($em, $context: $browser-context) { | |
@return #{$context*$em}px; | |
} | |
.row { | |
padding: em(20); | |
margin: em(10); | |
min-width: em(240); | |
max-width: em(1024); | |
min-height: px(3.875); | |
} |
This file contains hidden or 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
.row { | |
padding: 1.25em; | |
margin: 0.625em; | |
min-width: 15em; | |
max-width: 64em; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment