Click or drag to resize

CSSRule Properties

Version 118.6.80

The CSSRule type exposes the following members.

Properties
  NameDescription
Public propertyContainerQueries
Container query list array (for rules involving container queries). The array enumerates container queries starting with the innermost one, going outwards.
Public propertyLayers
Cascade layer array. Contains the layer hierarchy that this rule belongs to starting with the innermost layer and going outwards.
Public propertyMedia
Media list array (for rules involving media queries). The array enumerates media queries starting with the innermost one, going outwards.
Public propertyNestingSelectors
Array of selectors from ancestor style rules, sorted by distance from the current rule.
Public propertyOrigin
Parent stylesheet's origin.
Public propertyRuleTypes
The array keeps the types of ancestor CSSRules from the innermost going outwards.
Public propertyScopes
@scope CSS at-rule array. The array enumerates @scope at-rules starting with the innermost one, going outwards.
Public propertySelectorList
Rule selector data.
Public propertyStyle
Associated style declaration.
Public propertyStyleSheetId
The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.
Public propertySupports
@supports CSS at-rule array. The array enumerates @supports at-rules starting with the innermost one, going outwards.
Top
See Also