Free course
CSS Course
Learn the cascade, selectors, the box model, Flexbox, Grid, responsive design, and the modern CSS features used in real interfaces.
Prerequisites: HTML
Download this course as PDF or EPUB
Read it offline, on your Kindle, or print it. Join my free newsletter and you get this course plus every other book and course I published.
Download this course as PDF or EPUB
Read it offline, on your Kindle, or print it.
Your progress
of lessons completed.
Course completed.
What you'll learn
Style an HTML page deliberately and build responsive layouts with Flexbox and Grid.
Course contents
Add CSS to a page
Rules, declarations, stylesheets, selectors, and DevTools.
The cascade
Inheritance, specificity, source order, and selector behavior.
Values and visual language
Color, units, typography, backgrounds, and custom properties.
Boxes and positioning
The box model, normal flow, positioning, and stacking.
Flexbox
Build and align one-dimensional layouts.
Grid
Build two-dimensional layouts with explicit tracks.
Responsive and modern CSS
Adapt layouts and motion to screens and user preferences.
Debugging and review
Inspect layout problems and review the complete course.