CSS Roadmap 2026
Style and lay out the web: the cascade, box model, Flexbox, Grid, responsive design, animations and modern CSS.
4 stages · 8 units · Beginner · about 60 hours · Last reviewed 19 November 2026
What is a css?
CSS, or Cascading Style Sheets, is the language that controls how HTML looks in the browser. It sets colours, fonts, spacing and layout, and adapts pages to different screen sizes with media queries, Flexbox and Grid. Every website uses CSS, and it also handles transitions and animations without JavaScript.
Step-by-step css roadmap
- 1
Core CSS
Beginner · about 17 hours
Selectors and the box.
- Fundamentals
CSS fundamentals are the selectors, the cascade and the box model. Selectors pick elements, the cascade decides which rule wins using origin, specificity and source order, and the box model describes every element as content, padding, border and margin. Nearly every layout bug traces back to one of these.
- Text and Colour
Text and colour in CSS cover typography and the colour system of a page. Typography properties include font-family, font-size, line-height and web fonts, while colour covers values like hex, rgb and hsl, opacity, gradients and backgrounds. Readable contrast and consistent scale make a design feel intentional.
- Fundamentals
- 2
Layout
Beginner · about 17 hours
Place things on the page.
- Flexbox and Grid
Flexbox and Grid are CSS's two modern layout systems. Flexbox arranges items in one dimension, a row or a column, with control over alignment, spacing and growth. Grid arranges items in two dimensions with rows and columns, so it suits whole page layouts and card galleries.
- Positioning
Positioning and responsive layout decide where elements sit in the page flow and how they adapt to screens. Normal flow, the position property with relative, absolute, fixed and sticky, floats and z-index control placement, while media queries and fluid units make a page respond to viewport width.
- Flexbox and Grid
- 3
Motion and Effects
Beginner · about 13 hours
Bring it to life.
- Animation
CSS animation adds motion through transitions, which animate a property change between two states, and keyframes, which define multi-step sequences. Transforms such as translate, scale and rotate, and filters like blur, provide effects. Animating transform and opacity performs best because browsers can handle them on the compositor.
- Modern CSS
Modern CSS refers to newer features that remove the need for preprocessors and JavaScript workarounds. Custom properties hold reusable values, and features like container queries, the :has selector, nesting, cascade layers and logical properties give finer control. Browser support differs, so check before relying on a feature.
- Animation
- 4
Architecture
Intermediate · about 13 hours
Scale your styles.
- Organisation
CSS organisation is how teams structure stylesheets so they stay maintainable. Methodologies such as BEM, utility-first and CSS Modules give naming or scoping rules that prevent clashes, and tooling like Sass, PostCSS, minifiers and linters handles compilation, prefixes and consistent formatting.
- Quality
CSS quality covers accessibility and performance. Accessible CSS keeps focus visible, preserves contrast, respects user preferences and does not hide content from assistive technology by mistake. Performance work reduces render-blocking CSS, removes unused rules and avoids expensive selectors and layout thrashing.
- Organisation
Frequently asked questions
Ready to practise for interviews?
Practise css questions with an AI mock interviewer and get feedback on your answers.