Name
CSSRuleList.item( ) — get the CSSRule at the specified position
Availability
DOM Level 2 CSS
Synopsis
CSSRule item(unsigned long index
);
Arguments
-
index
The position of the rule to retrieve.
Returns
The CSSRule object at the specified position, or
null
if index
is not a
valid position.
Get JavaScript: The Definitive Guide, Fourth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.