# Query container

*noun*

say it: **“KWEER-ee kun-TAY-ner”** **/ˈkwɪri kənˈteɪnər/**

An element marked with container-type, whose size the elements inside it can check with container queries.

## What is a **query container**?

A **query container** is an element marked with `container-type`, so the elements inside can ask about its size.

```css
.sidebar { container-type: inline-size; }
```

## In a sentence

- “The sidebar is the **query container**, so every card inside it lays itself out by the sidebar's width.”

Level: Freelancer · [More CSS terms at this level](https://www.ask-codey.com/glossary?category=css&level=4)

Updated: November 9, 2026

Source: https://www.ask-codey.com/glossary/query-container
