Skip to content

Instantly share code, notes, and snippets.

@Quantme
Last active December 4, 2015 14:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Quantme/5bc72e5717cf7dbbd9b7 to your computer and use it in GitHub Desktop.
Save Quantme/5bc72e5717cf7dbbd9b7 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// 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);
}
.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