Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
6 results across 6 corpora for CSSPositionTryDescriptors.
Developer library 6
CSS anchor positioning
ference/Properties/position-try-fallbacks#try-tactic) ### HTML attributes - [`anchor`](/docs/Web/HTML/Reference/Global_attributes/anchor) ### Interfaces - CSSPositionTryDescriptors - CSSPositionTryRule - HTMLElement.anchorElement ## Guides - [Using CSS anchor positioning](/docs/Web/CSS/Guides/Anchor_positioning/Using) - : An introductory guide to fundamental anchor positioning concepts, including associatin
CSSPositionTryDescriptors
CSSOM The **`CSSPositionTryDescriptors`** interface defines properties that represent the list of CSS descriptors that can be set in the body of a @position-try [at-rule](/docs/Web/CSS/Guides/Syntax/At-rules). Each descriptor in the body of the corresponding @position-try at-rule can be accessed using either its property name in [bracket notation](/docs/Learn_web_development/Core/Scripting/Object_basics#bracket_not
CSS Object Model (CSSOM)
e - CSSGroupingRule - CSSImportRule - CSSKeyframeRule - CSSKeyframesRule - CSSMarginRule - CSSMediaRule - CSSNamespaceRule - CSSPageRule - CSSPositionTryRule - CSSPositionTryDescriptors - CSSRule - CSSRuleList - CSSStartingStyleRule - CSSStyleDeclaration - CSSStyleSheet - CSSStyleRule - CSSSupportsRule - CSSNestedDeclarations - FontFace - FontFaceSet - FontFaceSetLoadEvent - MediaList - MediaQueryList - MediaQueryLis
CSSPositionTryRule
TryRule.name - : Represents the name of the position try option specified by the `@position-try` at-rule's dashed-ident. - CSSPositionTryRule.style - : A CSSPositionTryDescriptors object that represents the declarations set in the body of the `@position-try` at-rule. ## Instance methods _No specific methods; inherits methods from its ancestor CSSRule._ ## Examples The CSS includes a `@position-try` at-rule
CSSPositionTryRule: name property
on = myRules[0]; // a CSSPositionTryRule console.log(tryOption.name); // "--custom-bottom" ``` ## Specifications ## Browser compatibility ## See also - CSSPositionTryDescriptors - @position-try - position-try-fallbacks - [CSS anchor positioning](/docs/Web/CSS/Guides/Anchor_positioning) module - [Using CSS anchor positioning](/docs/Web/CSS/Guides/Anchor_positioning/Using) - [Handling overflow: try options and
CSSPositionTryRule: style property
CSSOM The read-only **`style`** property of the CSSPositionTryRule interface contains a CSSPositionTryDescriptors object representing the descriptors available in the @position-try rule's body. ## Value A CSSPositionTryDescriptors object. Although the `style` property itself is read-only in the sense that you can't replace the `CSSPositionTryDescriptors` object, you can still assign to the `style` property direct