Skip to content

Course

CSS Architecture & Engineering

CSS that scales: cascade layers, container queries, modern layout, design tokens, component styling strategies, and debugging the cascade the way senior engineers actually do it.

9 lessons

Course Q&A

Reviews

Enrolled members can rate this course.

No reviews yet.

The Cascade as a System

Specificity, cascade layers, and the mental model that turns CSS from trial-and-error into engineering.

  1. 01How the Cascade Really WorksOrigin, layer, specificity, order — the actual algorithm the browser runs, in the order it runs it, and why your mental model of 'CSS is unpredictable' is a mental model of nothing.20mOpen
  2. 02Cascade Layers: Architecture You Can Enforce@layer gives you a specificity override — base styles always lose to components, utilities always win, and the order is declared in one place instead of being emergent behavior.22mOpen
  3. 03Inheritance, Custom Properties, and Why They Change EverythingWhat inherits, what doesn't, how `inherit`/`initial`/`unset`/`revert` actually differ, and why custom properties are the one true lever for theming and component APIs.20mOpen

Modern Layout & Responsiveness

Grid, flexbox, container queries, and fluid design that adapts to the container, not just the viewport.

  1. 01Flexbox and Grid: When and WhyOne-dimensional vs two-dimensional layout, the flex sizing algorithm that bites everyone, and the grid patterns that replace a decade of float hacks.22mOpen
  2. 02Container Queries and Fluid DesignResponsive to the component's home, not the viewport — @container, container query units, clamp() typography, and why this replaces most breakpoint thinking.22mOpen
  3. 03Responsive Images, Logical Properties, and Units That Scalesrcset/sizes done right, physical-vs-logical properties for internationalization, and the unit system (rem, ch, svh) that keeps layouts honest.18mOpen

Styling at Scale

Design tokens, component styling strategies, and the debugging workflows that keep large codebases sane.

  1. 01Design Tokens and Theming ArchitectureThe three-tier token system (primitive/semantic/component), how to wire it in custom properties, and why 'just use the hex code' collapses at scale.22mOpen
  2. 02Component Styling Strategies: BEM, Scoped, Utility, CSS-in-JSAn honest comparison of the four mainstream strategies — what each one actually costs and buys, and how to choose for your team instead of the internet's team.20mOpen
  3. 03Debugging the Cascade Like a ProfessionalThe systematic workflow — DevTools forensics, isolation techniques, and the diagnostic habits that turn 'CSS is broken' into a five-minute fix.20mOpen