NeivaJS retweetledi

const sheet = new CSSStyleSheet();
Now you can programmatically create a stylesheet (rather than creating a new <style> element or whatever) and apply it to documents and shadow roots (web components).
developers.google.com/web/updates/20…
English
