cssText returns the actual text of the style rule.
cssText returns the actual text of the style rule. To be able to set a stylesheet rule dynamically, see Using dynamic styling information.
MDN
Specifies a MediaList representing the intended destination medium for style information.
Specifies a MediaList representing the intended destination medium for style information.
MDN
Returns the containing rule, otherwise null.
Returns the containing rule, otherwise null. E.g. if this rule is a style rule
inside an @media
block, the parent rule would be that CSSMediaRule.
MDN
parentStyleSheet returns the stylesheet object in which the current rule is defined.
parentStyleSheet returns the stylesheet object in which the current rule is defined.
MDN
CSSMediaRule is an object representing a single CSS
@media
rule. It implements the CSSConditionRule interface, and therefore the CSSGroupingRule and the CSSRule interface with a type value of 4 (CSSRule.MEDIA_RULE).MDN