CSSStyleRule
The CSSStyleRule
interface represents a single CSS style rule.
Properties
Link copied to clipboard
The cssRules
property of the a collection of CSSRule objects.
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.
Link copied to clipboard
The selectorText
property of the CSSStyleRule interface gets and sets the selectors associated with the CSSStyleRule
.
Link copied to clipboard
The read-only style
property is the CSSStyleDeclaration interface for the declaration block of the CSSStyleRule.
Link copied to clipboard
The styleMap
read-only property of the which provides access to the rule's property-value pairs.