This reminds me of Houdini and the CSS paint API that let you put JS in CSS to do all sorts of amazing and/or terrible things. I was super excited about it for a while. Chrome supports it, but it seems pretty dead now for better or worse.
I have a vague worry that, as we put more and more computation into CSS, web devs are going to end up with performance issues that are difficult to trace to their source compared to JS solutions. The answer is to surface this in DevTools I guess.
0 reposts0 likes