Skip to content

Instantly share code, notes, and snippets.

@crecotun
Last active March 25, 2018 16:39
Show Gist options
  • Save crecotun/9c63becc8edd31c7585f to your computer and use it in GitHub Desktop.
Save crecotun/9c63becc8edd31c7585f to your computer and use it in GitHub Desktop.
px to rem converter stylus mixin
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