Module 8 · Lesson 3 of 431/60 in the course~22 min
Module lessons (3/4)
Explicit Span, Line Numbers & grid-template-areas
Lesson preview5 hands-on exercises readyModern HTML & CSS · CSS Grid Layout & Subgrid
Span bento cards with grid-column/row and compose readable dashboard shells using named grid areas.
What you'll learn in this lesson
- Place featured banners and full-bleed rows cleanly with
grid-column: 1 / -1,span 2, andgrid-row. - Compose self-documenting page architecture cleanly via
grid-template-areasstrings ("header header"/"sidebar main"). - Reconfigure entire page regions declaratively inside a media query by swapping area templates rather than shifting child coordinates.
Overview
Every CSS Grid column track creates vertical grid lines numbered starting at 1 on the start side and counting backward with negative indices (-1 always points to the very last track line regardless of column count!):
Sections covered in this lesson
- 1Line Numbers, Spans & Readable Named Areas
Pro Lesson · CSS Grid Layout & Subgrid
Unlock "Explicit Span, Line Numbers & grid-template-areas" and the full Modern HTML & CSS curriculum
Span bento cards with grid-column/row and compose readable dashboard shells using named grid areas.
Unlock all 5 hands-on exercises in this lesson plus every advanced WebAssembly module with automated checks.
- Instant access to all advanced modules in Modern HTML & CSS plus 17 more courses
- Hands-on browser exercises with automated test suites and solutions
- 14-day money-back guarantee processed via Paddle.com
14-day guarantee · Cancel anytimeModule 1, all 18 interactive games, and cheatsheets are always free.