Skip to content

Instantly share code, notes, and snippets.

@alexdmejias
Created April 16, 2013 14:06
Show Gist options
  • Save alexdmejias/5396170 to your computer and use it in GitHub Desktop.
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
@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