CSS & Modern Layout — Roadmap
Estimated Time to Job-Ready
4-8 weeks of consistent practice (roughly 5-8 hours/week) to be genuinely comfortable building and debugging real layouts independently — faster if HTML fundamentals are already solid and practice is deliberate (building real layouts, not just reading), slower if squeezed into sporadic sessions. CSS rewards repetition more than reading — the box model and the cascade only really click after debugging a few real, self-caused layout bugs.
Phase 1: Box Model, Selectors, and the Cascade (Week 1-2)
box-sizingCheckpoint: Given two conflicting CSS rules on the same element, can you predict which one wins without opening DevTools — and then confirm it in the Styles panel?
Phase 2: Flexbox and Grid (Week 2-4)
grid-template-columns/rows, fr, grid-template-areasCheckpoint: Can you build a three-column card grid that reflows to one column on mobile, using repeat(auto-fit, minmax(...)) with no media query?
Phase 3: Responsive Design and Modern Features (Week 4-6)
rem, %, vw/vh)transform/opacity)relative, absolute, fixed, sticky, and their real bugsCheckpoint: Can you explain, from memory, exactly why an absolute-positioned element sometimes jumps to the wrong corner of the page — and how to fix it?
Phase 4: Architecture, Performance, and Modern CSS (Week 6-8)
content-visibility, will-change used narrowly@layer) for resolving specificity wars deliberately:has() as genuinely production-ready modern toolsCheckpoint: Given a real production layout bug (a Flexbox item not shrinking, a Grid track sizing wrong, a specificity conflict from a third-party stylesheet), can you diagnose it using DevTools' Styles/Computed/Layout panels in under five minutes?

