TechnologyExplain Like I'm 5Intermediate
Modern CSS for Real Websites, a free technology course on Tomo

Modern CSS for Real Websites

Stop fighting the cascade and build resilient, modern web layouts with confidence. Learn how to combine Flexbox and Grid, leverage fluid sizing without media query bloat, and master stacking contexts and custom properties.

Like Duolingo, but for Modern CSS for Real Websites. Tomo turns the whole topic into a game you play five minutes a day, until it actually sticks.

A short one: 10 levels across 2 sections, about 20 minutes end to end, roughly 4 days at five minutes a day. It moves through Composing Predictable Layouts and Taming the Browser and the Cascade. It assumes you already know the basics.

10 bite-size levelsAbout 5 minutes each

Free forever · No credit card · iPhone & Android

Chameleon Cody, the guide who teaches the Modern CSS for Real Websites course
Modern CSS for Real Websites
with Chameleon Cody
10
Levels
2
Sections
5
Min/day
What you'll learn

Key ideas in Modern CSS for Real Websites

  • Flexbox operates on a single axis and allocates space based on item content sizes
  • Dynamic components like navbars and pill lists flow naturally with Flexbox wrapping
  • CSS Grid enforces container-level tracks that disregard intrinsic item boundaries
  • CSS Grid defines two-dimensional tracks from the container down into children
  • Matching row heights across independent column items requires two-dimensional Grid
  • Flexbox treats each wrapped line as an independent layout with no cross-row alignment
  • An auto margin in a flex container absorbs all remaining free space along that axis
  • Setting margin-left: auto pushes an element and any subsequent siblings to the far right
  • Auto margins eliminate the need for empty spacer divs or justify-content workarounds
  • flex-basis: auto distributes remaining space after subtracting intrinsic content width
  • flex-basis: 0 ignores item content width to distribute the entire container proportionally
  • Identical flex-grow values only produce equal widths if flex-basis is set to 0
  • Nested cards normally establish their own independent formatting contexts
  • grid-template-rows: subgrid inherits track sizing from the parent grid container
  • Subgrid forces card internal rows to align with sibling card internal rows
  • auto-fit collapses empty tracks to 0px so existing items can expand via 1fr
Why not just Google it

You've tried the other tabs

Wikipedia

Thirty open tabs. Four facts you actually kept.

YouTube

You watched. You nodded. By Sunday it was gone.

ChatGPT

One answer, then back to scrolling.

Online courses

Eight weeks. You meant to finish. You didn't.

Tomo gives Modern CSS for Real Websites the Duolingo treatment: levels, streaks, and quick quizzes that test what you just learned. That game loop is what the tabs above never had, so it's the one you actually finish.

Try a question

Here's what playing it feels like

A real question from this course. Take your best guess.

Picking Flexbox or Grid

Which items naturally wrap and flow best when built with Flexbox?

Get it right to open this lesson and 9 more in the app.

Course map

Where Modern CSS for Real Websites takes you

  1. 1

    Composing Predictable Layouts

    • Choosing Between Flexbox and Grid
    • Fluid Layouts Without Breakpoint Fatigue
  2. 2

    Taming the Browser and the Cascade

    • Mastering Stacking and Flow
    • Component Architecture with Modern CSS

2 sections · 4 units · 10 levels. Built to play, not to enroll.

New

Tomo is in ChatGPT

Tomo is also a ChatGPT plugin: the same playable courses, built and played inside your chat.

Add Tomo to ChatGPT
How it's taught

You pick the voice

This course
Explain Like I'm 5

Modern CSS for Real Websites is taught in the Explain Like I'm 5 style: no big words. promise.. Want a different feel? In the app you can spin up the same topic in any of Tomo's teaching styles. Same facts, totally different vibe.

Start free

Start Modern CSS for Real Websites today.

Download Tomo, search Modern CSS for Real Websites, and play your first lesson in under a minute.