Learn CSS
A free learning path through 77CSS tutorials on this site.
CSS is the language that defines how a web page looks in the browser. It’s easy to get started with, and it goes incredibly deep: layout, typography, animations, responsive design.
This page organizes my CSS tutorials into a learning path. Start with selectors and the box model, then learn the two modern layout systems, Flexbox and Grid, and from there explore the rest.
Free resources
- CSS Handbook — the free ebook, downloadable as PDF and EPUB
- CSS Quiz Course — test yourself with a free quiz course, no signup
Start here: selectors and the cascade
How CSS targets elements, how specificity is calculated, and how the cascade decides which rule wins.
The box model and positioning
Padding, borders, margins, box-sizing, and how elements are positioned and stacked on the page.
Layout: Flexbox and Grid
The two modern layout systems every developer needs, plus the classic problem of centering things.
Responsive design and units
Media queries, mobile-first design, CSS units like rem and vw, and custom properties.
Visual styling and motion
Colors, typography, backgrounds, filters, and bringing pages to life with transitions and animations.
CSS tools
Free browser-only tools to practice and get things done faster.
- Flexbox Playground
- CSS Grid Generator
- CSS Specificity Calculator
- CSS Selector Tester
- CSS Gradient Generator
More CSS tutorials
This learning path is a curated selection. Browse all 77 CSS tutorials on this site.