Created
April 16, 2013 14:06
-
-
Save alexdmejias/5396170 to your computer and use it in GitHub Desktop.
convert pixel to em - warning I have yet to test it, not 100% on the syntax
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
@mixin pte($pixels, $context:16) { | |
@return { $pixels / $context}em; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment