4 ms·
But you can use it to write JS in CSS and then eval it (although you probably shouldn't) https://css-houdini.rocks/js-in-css https://css-houdini.rocks/js-in-css
by ihuman 5y ago
But you can use it to write JS in CSS and then eval it (although you probably shouldn't) https://css-houdini.rocks/js-in-css https://css-houdini.rocks/js-in-css (only works in Chrome)
- jrochkind1 5y agoOK, good point! And neat demo, thanks! I guess if you can add features to CSS, you can add a feature to have evaluatable JS! And that is a pretty neat demo. It is not the main targeted use case of Houdini though! (And I'm gonna go out on a limb and say the Houdini devs would say it's a bad idea as more than a cool toy!)