CSSLayerStatementRule

The CSSLayerStatementRule represents a @layer statement rule.

MDN Reference

Properties

Link copied to clipboard

The cssText property of the CSSRule interface returns the actual text of a CSSStyleSheet style-rule.

Link copied to clipboard

The read-only nameList property of the CSSLayerStatementRule interface return the list of associated cascade layer names.

Link copied to clipboard

The parentRule property of the CSSRule interface returns the containing rule of the current rule if this exists, or otherwise returns null.

Link copied to clipboard

The parentStyleSheet property of the the current rule is defined.