3 ms·
I'm not completely against using javascript to write styles, but looking at this documentation, I'm not a huge fan of this API. CSS already looks very much lik
by pedalpete 13y ago
I'm not completely against using javascript to write styles, but looking at this documentation, I'm not a huge fan of this API.
CSS already looks very much like an object, I think sticking to that form, and allowing the user to manipulate variables in the stylesheet simply, or define and use variables which are loaded on the client, would be beneficial.
Manipulating css rules is easy enough in javascript/jQuery already, so that's where I don't see a massive benefit of what JS3 is adding.
- vikasburman 13y agoAPI is completely redone, more close to LESS, yet in JS. You may want to give it another shot. :)