Grid Areas and Placement
Place items precisely using grid lines and named areas.
Grid Line Numbers
Items can span multiple cells using line numbers:
Loading CSS Playground...
grid-column and grid-row
Loading CSS Playground...
The span Keyword
Use span instead of line numbers:
Loading CSS Playground...
Named Grid Areas
Create layouts with named areas:
Loading CSS Playground...
Empty Cells with Dots
Use . for empty cells:
Loading CSS Playground...
Interactive Playground
Loading Grid Playground...
Practical: Blog Layout
Loading CSS Playground...
Exercise: Span Columns
Make the header span all 3 columns:
Loading CSS Exercise...
Up next · Lesson 24 of 27
Selector Challenges
3 min read
23 of 27 lessons done

Ask Byte about this lesson
A private chat about this lesson. Byte has read the whole lesson, answers in seconds, and shows the section each answer comes from. Ask follow-ups in any language.
Questions & Answers
Public questions about this lesson. The AI Tutor answers right away in your language, the FreeAcademy team checks answers, and every learner can read them.

