Created
February 17, 2016 10:30
-
-
Save gogachinchaladze/51e2edaef0c0fecb581d to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
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
// ---- | |
// 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); | |
} |
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
#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