nodezoo / nodezoo-web

nodezoo.com front end
MIT License
12 stars 61 forks source link

take advantage of more stylus features #60

Open Georgette opened 8 years ago

Georgette commented 8 years ago

This isn't really that important, but for anyone looking to learn a preprocessor language (we use stylus), this might be fun.

using this site as a reference on which css3 properties still require vendor prefixes, I'd like to see some mixins generated

for example, although vendor prefixes is no longer needed for this property

Mixin for border-radius

border-radius(radius)
  -webkit-border-radius radius
  -moz-border-radius radius
  border-radius radius

used by doing:

border-radius(5px)

Also, I'd like see more use of features like @extend, and whatever feels nice. You can get crazy concise with these things, but its not necessary as it all compiles the same :)