TOC PREV NEXT INDEX

Put your logo here!


cssRules


Returns all of the CSS rules in the stylesheet as an array.

Syntax

rules = stylesheet.cssRules 

Parameters

rules is an array of individual cssRule objects.

Example

// get to the first rule 
first_rule = document.stylesheets[0].cssRules[0]; 

Notes

See DOM cssRule Object.

Specification

css


mozilla.org | mailto:oeschger | bug 93108
TOC PREV NEXT INDEX