class js.html.CSSStyleRule extends CSSRule

Available on js

An object representing a single CSS style rule. CSSStyleRule implements the CSSRule interface.

Documentation for this class was provided by MDN.

Instance Fields

var selectorText:String

Gets/sets the textual representation of the selector for this rule, e.g. "h1,h2".

var style:CSSStyleDeclaration

Returns the CSSStyleDeclaration object for the rule. Read only.