# Grid container

*noun*

say it: **“GRID kun-TAY-ner”** **/ɡrɪd kənˈteɪnər/**

An element with display: grid. Its direct children are placed into the rows and columns it sets up.

## What is a **grid container**?

A **grid container** is an element with `display: grid`. Its direct children are placed in the grid.

```css
.photo-wall { display: grid; }
```

## In a sentence

- “The gallery is the **grid container**, and each photo inside it takes one cell.”

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

Updated: November 9, 2026

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