rafaelmaeuer
1/4/2017 - 4:27 PM

Delete CSS Stylesheet Rule with JavaScript (Remove previously added Pseudo-Element Style) From https://developer.mozilla.org/en-US/docs/Web/

Delete CSS Stylesheet Rule with JavaScript (Remove previously added Pseudo-Element Style) From https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleSheet/deleteRule

// stylesheet.deleteRule(index) 
document.styleSheets[0].deleteRule(0);