Grid’s power comes from defining tracks explicitly, then placing items into those tracks by line number, span, or named area. This lesson shows both approaches side by side: a three-column track with a spanning item, and a two-column layout defined entirely with named areas.

What this covers

  • repeat(3, minmax(0, 1fr)) for equal responsive columns
  • grid-column: span 2 to make an item occupy multiple tracks
  • grid-template-areas and grid-area for named page regions

Grid deep dive specimen

Preview