Lesser-Known and Underused CSS Features in 2022 (smashingmagazine.com) 4 points by marban 4y ago ↗ HN
[–] transfire 4y ago ↗ 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? [–] marban 4y ago ↗ 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.
[–] marban 4y ago ↗ 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.
[–] theandrewbailey 4y ago ↗ I've been using currentColor for almost 10 years to implement an animated glow effect when hovering over links. [–] gRoberts84 4y ago ↗ currentColor comes in handy with SVG's too. https://jsfiddle.net/gRoberts/nsjb2dyp/D'oh, I couldn't read the article as it was throwing a 500 error but now it's working I see that they highlighted this.
[–] gRoberts84 4y ago ↗ currentColor comes in handy with SVG's too. https://jsfiddle.net/gRoberts/nsjb2dyp/D'oh, I couldn't read the article as it was throwing a 500 error but now it's working I see that they highlighted this.
4 comments
[ 3.5 ms ] story [ 34.6 ms ] threadI 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?
D'oh, I couldn't read the article as it was throwing a 500 error but now it's working I see that they highlighted this.