10 Mar 24

JavaScript mangles semantics in a way that CSS does not.

Dynamic content (such as animated elements) and even some amount of user interaction is well handled by CSS to the extent that it more affords designers making pages such that that stuff can be turned off, ignored, overridden. That’s much more difficult with JavaScript and the virtual DOM.

by 2097 1 year ago