On Tuesday, August 14, 2012 2:51:20 PM UTC-7, Bry wrote: > > Anyone know of any Node.JS CSS modules/frameworks like stylus/less but > with a feature that it's style definitions degrades to browser specific > features. > > Ex: border-radius: 10px; > > will turn into > > border-radius: 10px; > moz-border-radius:10px; > webkit-border-radius: 10px; > > etc. Kinda like the Socket.IO of css frameworks? >
SCSS is capable of doing that, but it's not built in, you'd have to define the expansions yourself. LESS is probably also capable of doing that. Maybe in Compass? Compass is a library of useful stuff for SCSS. Of course, if you're intent on doing the SCSS->CSS translation at serving time, you'd need to make sure that you get a node SCSS implementation that covers enough of the "standard" to make that work, I don't think they all do. Personally, I tend to do stuff like that outside of the server. SCSS has a watcher so that any time you modify an .scss file, it updates the relevant .css file. There's probably similar for LESS. -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
