Container
Since 2024.02.1Beta
Using the class env-container
on an element will declare a containment context
that may be targeted with container query at-rules.
A containment context is required when using Dynamic font size.
<div class="env-container">
<div class="example">Container example</div>
</div>
@container (min-width: 250px) {
.example {
/* Styles to apply to div.example when container is 250px wide or more */
}
}