A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/css/cssom/styleSheet/cssRules below:

cssRules ยท WebPlatform Docs

cssRules Summary

Gets a list of CSS rules of a style sheet.

Property of css/cssom/styleSheetcss/cssom/styleSheet

Syntax

Note: This property is read-only.

var rules = stylesheet.cssRules;
Return Value

Returns an object of type DOM NodeDOM Node

Of type CSSRuleList. A list of CSS rules within a style sheet.

Notes

The list retrieved includes both rule sets (at-rules. Rules are returned in the same order as they are listed in the parent object. Rules that were dropped during parsing (for instance, because of syntax errors) are not included. However, rules that use a selector or property that Windows Internet Explorer does not recognize are included in the list.

Related specifications
DOM Level 2 Style
Recommendation
See also Related articles CSSOM Related pages Attributions

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4