liveBook · Manning

Cell

As explained in Tiny CSS Projects

A grid cell is the rectangular space formed by the intersection of a CSS Grid row and column.

A grid cell is the rectangular space where one CSS Grid row and one CSS Grid column intersect. Grid tracks occupy the spaces between neighboring grid lines, and cells sit within those tracks. section 2.3

Cells participate in CSS Grid layout in several practical ways:

  • The browser normally places child elements into available cells, filling columns before creating additional rows. section 2.3.4
  • An explicit grid defines its intended rows and columns; an implicit grid adds cells when more child items need placement. section 2.3.4
  • Named adjacent cells can combine into a rectangular grid area, while a dot marks an intentionally empty cell. section 2.4

A named layout with an empty cell

In a five-row, three-column layout, the template can assign header cells across the first row, content cells across two columns, and a dot to leave one cell empty: "header header header", "content content author", "content content aside", "plays . aside", and "footer footer footer". Repeated names merge adjacent cells into rectangular areas. section 2.4

Figure 2.4 Grid structure based on English as the writing mode, with the direction set to left-to-right

Use the grid diagram to distinguish grid lines, tracks, rows, columns, and the cells formed at their intersections. section 2.3

How Tiny CSS Projects covers it

How deep it goes
Defines cells, explains automatic and named placement, and stops short of detailed cell sizing or alignment behavior.
Examples
Uses numbered grid lines, automatically filled columns, and a named layout containing merged areas and an empty cell.
What it assumes
Assumes basic familiarity with CSS Grid rows, columns, tracks, and grid-template properties.
What you can do after
Apply cells through explicit grid placement, automatic flow, or named rectangular areas.
How it connects
Connects cells with grid lines, grid tracks, grid rows, grid columns, implicit grids, explicit grids, and grid template areas.

Also explained in

Compare how 5 books explain cell →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Tiny CSS Projects. The section links point to the parts of the book it draws on.