WebGlossary.info
Container query
- A CSS way of applying styles to a container’s contents based on the size of the container, rather than the viewport or other device characteristics. If a container has less space in the surrounding context, container queries allow to hide certain elements or work with smaller fonts, for example. Given a containment context, the
@container
at-rule is used to write a container query. ← MDN Web Docs
- Previous term: Container
- Next term: Containerization
- Random term: Cache eviction