Last active
December 16, 2015 19:39
-
-
Save ArnaudBan/5487193 to your computer and use it in GitHub Desktop.
Compass fonction to always work in em easily
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
@function px_to_em( $value, $context : 16 ){ | |
@return ( $value / $context ) + 0em ; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment