CSSPositionTryRule

The CSSPositionTryRule interface describes an object representing a @position-try at-rule.

MDN Reference

Properties

Link copied to clipboard
open external var cssText: String

The cssText property of the CSSRule interface returns the actual text of a CSSStyleSheet style-rule.

Link copied to clipboard
open external val name: String

The name read-only property of the CSSPositionTryRule interface represents the name of the position try fallback option specified by the @position-try at-rule's .

Link copied to clipboard
open external val parentRule: CSSRule?

The parentRule read-only property of the CSSRule interface returns the containing rule of the current rule if this exists, or otherwise returns null.

Link copied to clipboard
open external val parentStyleSheet: CSSStyleSheet?

The parentStyleSheet read-only property of the CSSRule interface returns the StyleSheet object in which the current rule is defined.

Link copied to clipboard
open external val style: CSSPositionTryDescriptors

The read-only style property of the CSSPositionTryRule interface contains a CSSPositionTryDescriptors object representing the descriptors available in the @position-try rule's body.