CssPositionTryRule Class
https://drafts.csswg.org/css-anchor-position-1/#om-position-try: a @position-try rule, which defines a position option (https://drafts.csswg.org/css-anchor-position-1/#fallback-rule) with a name, applied to the absolutely positioned boxes that list it in position-try-fallbacks.
public sealed class CssPositionTryRule : CssRule- Inheritance
CssRuleCssPositionTryRule
Properties
| Name | Description |
|---|---|
| Name | Gets the name declared in the prelude of the rule (a <dashed-ident>, serialized as an identifier). |
| Style | Gets the declarations of the rule (the accepted @position-try properties, in the specified order). |
Gets the name declared in the prelude of the rule (a <dashed-ident>, serialized as an identifier).
public string Name { get; }Property value
See also
Gets the declarations of the rule (the accepted @position-try properties, in the specified order).
public CssPositionTryDescriptors Style { get; }