- 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
- More about this term (beta): articles and videos, books, web search
- Previous term: Container
- Next term: Containerization
- Random term: Law of Leaky Abstractions (or roll the dice with webglossary.info/random)