CSSRule
The CSSRule interface represents a single CSS rule. There are several types of rules which inherit properties from CSSRule.
Inheritors
Properties
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.