|
|
|
|
|
by jonsmock
5504 days ago
|
|
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. |
|