CSSRule object
Represents a Cascading Style Sheets (CSS) statement (including both rule sets and at-rules).
![]() ![]() |
Members
The CSSRule object has these types of members:
Properties
The CSSRule object has these properties.
| Property | Access type | Description |
|---|---|---|
|
Read/write |
Sets or retrieves the persisted representation of the style rule. | |
|
Retrieves the containing rule, if the current rule is contained inside another rule. | ||
|
Retrieves the style sheet that contains the current rule. | ||
|
Retrieves the type of the rule. |
Standards information
See also
Show:

