Skip to content

Instantly share code, notes, and snippets.

@rotorz
rotorz / rems.styl
Last active August 29, 2015 13:56 — forked from avilaj/rems.styl
Function for Stylus CSS pre-processor which takes 1 or more array elements - fixed array initialisation.
// License MIT
// Author: Jorge Avila <jorge.e.avila@gmail.com>
// Example:
// body
// -rem('margin', 10 20 30 40)
// -rem('font-size', 10)
basefont = 16px
-rem(property, sizes)
rems = ()