JSON in CSS

1 · CSS-Tricks · May 20, 2021, 11:26 p.m.
Jonathan Neal tweeted a heck of a little CSS trick the other day, putting JSON inside CSS and plucking it out with JavaScript. Valid values for custom properties are quite liberal! So this looks for a CSS rule (e.g. a … The post JSON in CSS appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter....