New 2nd edition, fully updated for 2026

Master modern CSS with a book and a video course

Fourteen chapters and 64 videos on layouts, design tokens, theming and accessible components. Read it, watch it, build it.

4.9 out of 5 from 2,100 readers

  • 380-page ebook
  • 12 hours of video
  • Lifetime updates
Watch the trailer 2:14

Read by developers at

What you get

Two ways to learn, one bundle

Read at your own pace, then watch every technique built from scratch.

  • The book

    Modern CSS, Explained

    Value: $49

    A practical guide from the cascade to a complete design system.

    pages
    380
    chapters
    14
    code samples
    120
    • PDF, EPUB and Kindle
    • Copy-paste code samples
    • Free updates for every edition

    See the chapters

  • The video course

    Modern CSS, Built

    Value: $149

    Watch every technique from the book built in real projects.

    lessons
    64
    of video
    12 h
    projects
    6
    • 4K video with subtitles
    • Source code for every lesson
    • Watch online or download

    Browse the lessons

Together Regular price: $198 Bundle price: $129

Get both in the Complete bundle and save $69.

See the bundles
Pages
380
Formats
PDF, EPUB, Kindle
Updated
September 2026

Read chapter 3 for free

Get “Intrinsic layouts” (42 pages) in your inbox, plus the table of contents.

No spam. Unsubscribe with one click.

The book

Fourteen chapters, zero filler

Every chapter ends with a small project you can drop into your own work.

  1. Chapter 1: The cascade, for real

    Specificity, layers and inheritance without guesswork.

    24 pages

  2. Chapter 2: The box model and flow

    Sizing, margins and the logical properties.

    22 pages

  3. Chapter 3: Intrinsic layouts

    Grid, flexbox and container queries.

    Free sample 42 pages

  4. Chapter 4: Typography that scales

    Fluid type, rhythm and readable measures.

    26 pages

  5. Chapter 5: Design tokens

    Colors, spacing and type with Sass and custom properties.

    30 pages

  6. Chapter 6: Theming and dark mode

    One markup, many styles.

    28 pages

+ 8 more chapters: components, forms, motion, accessibility, testing, performance, architecture and the capstone.

The video course

Watch it built, line by line

64 short lessons in six modules. Start with the free previews.

lessons
64
of video
12 h
free previews
8

See all 64 lessons

Reviews

2,100 readers, one verdict

4.9 4.9 out of 5, based on 2,100 reviews

  • 5 stars92%92%
  • 4 stars6%6%
  • 3 stars1%1%
  • 2 stars1%1%
  • 1 stars0%0%
  • Rated 5 out of 5

    Finally understand the cascade

    Chapter one alone fixed bugs I’d been fighting for years. Two months later I led our design system.

    Leo Novak · Frontend Developer Verified on Book
  • Rated 5 out of 5

    The videos make it click

    Reading it, then watching it built, is the best way I’ve learned anything.

    Sara Kim · Product Engineer Verified on Complete
  • Rated 5 out of 5

    Bought it for the whole team

    It’s now our onboarding material for every new frontend hire.

    Omar Haddad · Engineering Manager Verified on Team
  • Rated 4 out of 5

    Practical and modern

    No outdated hacks. Every example is something I use at work now.

    Ava Martinez · Designer who codes Verified on Book
Daniel Okafor smiling in front of a bright wall.

Your teacher

Hi, I’m Daniel Okafor

Frontend architect · Author · Speaker

I’ve spent ten years building CSS architectures for products used by millions, from a banking app to the design system of a large e-commerce platform.

I wrote this book because I kept explaining the same ideas to new teammates. The videos are those explanations, recorded with the code on the screen.

years of CSS architecture
10
newsletter readers
40k
conference talks
25

Pricing

Pick your bundle

Pay once, keep it forever. Every tier includes free updates.

Sale Launch price: 30% off until October 31

  • Book

    Read it at your own pace.

    Price: $39 Regular price: $49 one-time

    Buy the book: Book
    • The ebook (PDF, EPUB, Kindle)
    • Code samples and exercises
    • Not included: 64 video lessons (12 hours)
    • Not included: Source code for every lesson
    • Not included: Private community
    • Not included: Team license and invoice
  • Team

    Everything for up to 10 people.

    Price: $499 Regular price: $690 one-time

    Buy for your team: Team
    • The ebook (PDF, EPUB, Kindle)
    • Code samples and exercises
    • 64 video lessons (12 hours)
    • Source code for every lesson
    • Private community
    • Team license and invoice

FAQ

Questions before you buy

Buying for a company?

We send invoices and offer volume licenses for larger teams.

Contact us
Who is it for?

Developers who know the basics of HTML and CSS and want to write CSS that scales. Designers who code will feel at home too.

What formats do I get?

The book comes as PDF, EPUB and Kindle files. The videos stream in 4K with subtitles, and you can download them to watch offline.

Can I upgrade from the book later?

Yes. Book owners pay only the difference to upgrade to the Complete bundle, at any time.

Do I get the updates?

Every tier includes free updates of the book and the videos, including the next edition.

Is there a refund policy?

If it isn’t for you, email us within 30 days for a full refund. No questions, no forms.

Write CSS you’re proud of

The book, 64 videos and every update. 30% off until October 31.

Join 2,100+ readers
Pages