stylus / nib

Stylus mixins, utilities, components, and gradient image generation
http://stylus.github.io/nib
MIT License
1.91k stars 249 forks source link

Variable number of position arguments #225

Closed eluberoff closed 10 years ago

eluberoff commented 10 years ago

(huge nib fans here). We frequently find ourselves wanting to write things like:

absolute: top

or

absolute: top 5px right 5px bottom 5px left 5px

This PR adds tests for variable number of position arguments (1 through 4) and code that allows it.

notslang commented 10 years ago

makes sense and all looks good. thanks for adding this