CSSLayerStatementRule
The CSSLayerStatementRule represents a @layer statement rule. Unlike CSSLayerBlockRule, it doesn't contain other rules and merely defines one or several layers by providing their names.
Properties
Link copied to clipboard
The read-only nameList property of the CSSLayerStatementRule interface returns the list of associated cascade layer names. The names can't be modified.
Link copied to clipboard
The parentRule read-only 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 read-only property of the CSSRule interface returns the StyleSheet object in which the current rule is defined.