CSSContainerRule
The CSSContainerRule
interface represents a single CSS @container rule.
Properties
The read-only conditionText
property of the CSSConditionRule interface returns or sets the text of the CSS rule.
The read-only containerName
property of the CSSContainerRule interface represents the container name of the associated CSS @container at-rule.
The read-only containerQuery
property of the CSSContainerRule interface returns a string representing the container conditions that are evaluated when the container changes size in order to determine if the styles in the associated @container are applied.
The cssRules
property of the a collection of CSSRule objects.
The parentRule
property of the CSSRule interface returns the containing rule of the current rule if this exists, or otherwise returns null.
The parentStyleSheet
property of the the current rule is defined.