JavaScripture
Contribute via GitHub Feedback

JavaScript CSSStyleRule : CSSRule

Represents a CSS rule consisting of a CSS selector of which elements to apply the rule to and a style to apply to the matching elements.

Instance Properties

selectorText : String

The CSS selector for the rule that defines which elements to apply the style to.

style : CSSStyleDeclaration  

The style to apply to elements that match the css selector of this rule.