News for hackers. Stuff that matters.
Re:32 Javascript Alternatives with Pure CSS – Updated by jonsmock on Thursday May 19, 2011 @12:29PM (#2564461)
In addition to the argument for keeping your styles together, CSS is declarative while Javascript is imperative. There are just less moving parts in CSS, and the browser keeps track of any "state" that you would be tracking in Javascript.

There are no comments on this comment yet.