Readonly
cssThe read-only CSSStyleSheet property cssRules
returns a live CSSRuleList which provides a real-time, up-to-date list of every CSS rule which comprises the stylesheet.
The disabled
property of the applying to the document.
Readonly
hrefThe href
property of the StyleSheet interface returns the location of the style sheet.
Readonly
ownerThe ownerNode
property of the with the document.
Readonly
ownerReadonly
parentThe parentStyleSheet
property of the the given style sheet.
Readonly
rulesrules
is a deprecated legacy property of the CSSStyleSheet interface.
Readonly
titleThe title
property of the StyleSheet interface returns the advisory title of the current style sheet.
Readonly
typeThe type
property of the StyleSheet interface specifies the style sheet language for the given style sheet.
The media
property of the StyleSheet interface specifies the intended destination media for style information.
The CSSStyleSheet method deleteRule()
removes a rule from the stylesheet object.
The CSSStyleSheet.insertRule()
method inserts a new CSS rule into the current style sheet.
Optional
index: numberThe replace()
method of the CSSStyleSheet interface asynchronously replaces the content of the stylesheet with the content passed into it.
The replaceSync()
method of the CSSStyleSheet interface synchronously replaces the content of the stylesheet with the content passed into it.
The
CSSStyleSheet
interface represents a single CSS stylesheet, and lets you inspect and modify the list of rules contained in the stylesheet.MDN Reference