Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const css = `
- .someClass
- {
- background-color : black;
- color: white;
- }
- `;
- const myStyleSheet = new CSSStyleSheet();
- myStyleSheet.replace(css);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement