Skip to content

Instantly share code, notes, and snippets.

@gogachinchaladze
Created February 17, 2016 10:30
Show Gist options
  • Save gogachinchaladze/51e2edaef0c0fecb581d to your computer and use it in GitHub Desktop.
Save gogachinchaladze/51e2edaef0c0fecb581d to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// libsass (v3.2.5)
// ----
$browser-context : 16px;
@function em($pixels, $context: $browser-context) {
@return #{$pixels/$context}em;
}
#some-div{
font-size:em(32px);
}
#some-other-div{
font-size:em(15px,30px);
}
#some-div {
font-size: 2em;
}
#some-other-div {
font-size: 0.5em;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment