# Container type

*noun*

say it: **“kun-TAY-ner TYPE”** **/kənˈteɪnər taɪp/**

A CSS property that turns an element into a box its contents can measure; inline-size, its usual value, lets them check its width.

## What does `container-type` do?

`container-type` turns an element into a query container. `inline-size` watches its width.

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

## In a sentence

- “I gave the sidebar a **container type** of inline-size, and from then on the cards inside it could check its 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/container-type
