4 comments

[ 3.5 ms ] story [ 34.6 ms ] thread
I suppose it’s good to have options, but damn the complexity of CSS these days…

I still wrestle with just trying to get the basics to do what I expect.

Also, I worry about the efficiency of the engines that handle all this complexity. How much of a CPU is getting used up to render complex CSS?

Modern CSS is already Turing complete. I wonder how much longer before we have to compile our CSS into some VM byte code for acceptable performance.

And at what point do we say this hodge-podged design has gotten out of hand and we need to go back and build from scratch?

Yes, you can do cutting edge stuff but most of the newer features is more like a shorthand for things you could already do with certain hacks.
I've been using currentColor for almost 10 years to implement an animated glow effect when hovering over links.