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.

.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

Updated