containerQuery property
String
get
containerQuery
The read-only containerQuery
property of the CSSContainerRule
interface returns a string representing the container conditions that are
evaluated when the container changes size in order to determine if the
styles in the associated are applied.
For example, the value of containerQuery
for the below is (min-width: 700px)
:
@container sidebar (min-width: 700px) {
.card {
font-size: 2em;
}
}
Implementation
external String get containerQuery;