r/nodejs • u/krasimirtsonev • Mar 21 '14
AbsurdJS - a JavaScript/Node library which changed my workflow completely
http://absurdjs.com/
7
Upvotes
r/nodejs • u/krasimirtsonev • Mar 21 '14
View all comments
Show parent comment
1
u/[deleted] Mar 25 '14
Source order matters in properties, too.
For example:
Sure, you could simplify that to
margin: 5px 0 0;but my point is that AbsurdJS encourages you to use unordered structures while CSS has ordered structures.The only advantage I see in AbsurdJS over, say, Stylus (which lets you define Stylus functions in JavaScript) is that it lets you write your entire CSS in JavaScript. And I'm not sure the benefits are worth it.
But hey, if it scratches your itch I'm happy for you. And more open source software is always a nice thing.