CSS Grid

noun

say it: “SEE-ESS-ESS grid” /ˌsiː ɛs ˈɛs ɡrɪd/

A CSS layout system that places items in rows and columns at the same time.

What is CSS Grid?

CSS Grid is a layout system for rows and columns at the same time, like a spreadsheet you place content into.

.dashboard {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px;
}

In a sentence

  • “With CSS Grid, the product gallery has three equal columns.”

Level: Journeyman · More CSS terms at this level

Updated