CSSRule Class |
The CSSRule type exposes the following members.
Name | Description | |
---|---|---|
ContainerQueries | Container query list array (for rules involving container queries). The array enumerates container queries starting with the innermost one, going outwards. | |
Layers | Cascade layer array. Contains the layer hierarchy that this rule belongs to starting with the innermost layer and going outwards. | |
Media | Media list array (for rules involving media queries). The array enumerates media queries starting with the innermost one, going outwards. | |
NestingSelectors | Array of selectors from ancestor style rules, sorted by distance from the current rule. | |
Origin | Parent stylesheet's origin. | |
RuleTypes | The array keeps the types of ancestor CSSRules from the innermost going outwards. | |
Scopes | @scope CSS at-rule array. The array enumerates @scope at-rules starting with the innermost one, going outwards. | |
SelectorList | Rule selector data. | |
Style | Associated style declaration. | |
StyleSheetId | The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from. | |
Supports | @supports CSS at-rule array. The array enumerates @supports at-rules starting with the innermost one, going outwards. |
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
GetHashCode | Serves as the default hash function. (Inherited from Object) | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
ToDictionary | (Inherited from DevToolsDomainEntityBase) | |
ToString | Returns a string that represents the current object. (Inherited from Object) |