JavaScripture
Contribute via GitHub Feedback

CSSRuleList : Object

A list of CSSRules. Returned from the CSSStyleSheet.cssRules property.

Instance Indexers

this[index : Number] : CSSRule  

Returns the CSSRule at the specified index. You can also use the item() method to retrieve the item.

Example:

Run

Results:

 

Instance Properties

length : Number  

The number of CSSRules in the list.

Example:

Run

Results:

 

Instance Methods

item(index : Number) : CSSRule

Same as this[index].