CSSStyleSheet
The CSSStyleSheet
interface represents a single CSS stylesheet, and lets you inspect and modify the list of rules contained in the stylesheet.
Properties
Functions
Link copied to clipboard
The CSSStyleSheet method deleteRule()
removes a rule from the stylesheet object.
Link copied to clipboard
The CSSStyleSheet.insertRule()
method inserts a new CSS rule into the current style sheet.
Link copied to clipboard
The replace()
method of the CSSStyleSheet interface asynchronously replaces the content of the stylesheet with the content passed into it.
Link copied to clipboard
Link copied to clipboard
The replaceSync()
method of the CSSStyleSheet interface synchronously replaces the content of the stylesheet with the content passed into it.