Modern CSS and Architecture
Write CSS like a senior: native nesting, :has(), theming and dark mode, naming and layers, tooling, debugging, accessible CSS and model interview answers.
You can now style and lay out almost anything. This phase is about writing CSS that stays good as a project grows, and about the newest features that change how CSS is written: native nesting, the **:has() "parent selector", and light-dark()** for themes. You'll learn the real rules behind each one, including the surprising specificity of nested selectors.
Then you'll step back and look at CSS as a codebase: how teams name and organise styles (BEM, utility-first, component styles, cascade layers, resets), what tools like Sass, PostCSS, Autoprefixer and Tailwind really do, how to debug any layout bug with DevTools in a calm, repeatable way, and how to make CSS accessible: contrast, focus styles, visually hidden text, forced colours and reduced motion.
The phase ends with the CSS interview questions asked most often (specificity, the box model, Flexbox vs Grid, positioning, block formatting contexts) with model answers you can say out loud. It builds on everything before it, especially Phase 1 (selectors), Phase 2 (the cascade and layers), Phase 3 (custom properties and colour), Phase 9 (user preference queries) and Phase 10 (animation). Every example is live.
Practise this phase
Hands-on exercises: write the code, see your page live, and press Check to have it tested automatically.