CssContainerCondition Class
https://drafts.csswg.org/css-conditional-5/#dictdef-csscontainercondition
public sealed class CssContainerConditionConstructors
| Name | Description |
|---|---|
| CssContainerCondition() |
CssContainerCondition()
- Obsolete: Constructors of types with required members are not supported in this version of your compiler.
[Obsolete("Constructors of types with required members are not supported in this version of your compiler.", true)]
public CssContainerCondition()No documentation is available.
Properties
| Name | Description |
|---|---|
| Name | Gets the name of the container targeted by the condition, or an empty string when the condition has no name. |
| Query | Gets the text of the container query of the condition. |
Name
CSSRules.csGets the name of the container targeted by the condition, or an empty string when the condition has no name.
public required string Name { get; init; }Property value
See also
Query
CSSRules.csGets the text of the container query of the condition.
public required string Query { get; init; }