-
-
Save yavallejo/05670249db325144023f6dd4e3df6e60 to your computer and use it in GitHub Desktop.
px to rem converter stylus mixin
This file contains hidden or 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
rem() | |
values = () | |
for i in arguments | |
push(values, i/16 rem) | |
return values | |
// e.g. padding rem(94px 0 75px) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment