liveBook · Manning

Grid line

A grid line is a horizontal or vertical boundary in a CSS Grid layout that defines track edges and item placement positions.

How 2 Manning books explain it

CSS in Depth, Second Edition

A named grid line is a CSS Grid line assigned one or more author-defined names for referring to grid positions.

How it is used
Uses named grid lines to place items when numbered boundaries become difficult to track.
How deep it goes
Works through bracketed names, multiple names per line, repeated names, and placement with start and end boundaries.
Examples
Uses a two-column template and a page layout with named column boundaries and repeated row names.
What you can do after
Apply it via CSS Grid to name track boundaries and place items using those names.

Read how CSS in Depth, Second Edition explains grid line →

Math for Web Design

A grid line is a CSS Grid line that defines a row or column boundary and provides a position for placing grid items.

How it is used
Positions grid items by naming the row and column boundaries they occupy.
How deep it goes
Explains line numbering, cells, spans, and negative indices, including the explicit-versus-implicit-track limitation.
Examples
Uses a 3-by-2 grid, a multi-cell item, a full-width title, and a last-row inventory total.
What you can do after
Apply it via CSS Grid properties to place, span, and end-anchor items in responsive layouts.

Read how Math for Web Design explains grid line →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.