News for hackers. Stuff that matters.
Re:Fix CSS by writing it in JavaScript by talmand on Tuesday November 25, 2014 @02:21PM (#8659189)
There's nothing stopping you from doing any of that with CSS today, especially if you use SASS or LESS.
Re:Fix CSS by writing it in JavaScript by Offler on Wednesday November 26, 2014 @04:25AM (#8661645)
SASS and LESS are CSS DSLs, you are doing limited programming with CSS, at that stage you may as well do programming in a Turing complete language like JS and reduce the number of tools in your tool chain.