2 ms·
Was https://en.wikipedia.org/wiki/JavaScript_Style_Sheets https://en.wikipedia.org/wiki/JavaScript_Style_Sheets right all along?
by xnx 2y ago
Was https://en.wikipedia.org/wiki/JavaScript_Style_Sheets https://en.wikipedia.org/wiki/JavaScript_Style_Sheets right all along?
- rchaud 2y agoI didn't know about this and looked it up. I've played around with P5.js, the Canvas-based library for animations and generative art, and this syntax is almost exactly how DOM elements are styled in there.