4 ms·
So we can write Javascript in CSS. Previously we could write CSS in Javascript. If I write a React template that embeds the CSS that embeds this Javascript, wh
by SamBam 5y ago
So we can write Javascript in CSS. Previously we could write CSS in Javascript.
If I write a React template that embeds the CSS that embeds this Javascript, whose job is it to untangle my mess when I leave the company?
- ljm 5y agoYou could write HTML inside your CSS and then use your PaintWorklet to render that HTML onto a canvas. Start with HTML 1.0 so you don't have to support CSS inside that HTML.