Learn CSS by writing real code

Give your pages personality with colors, fonts, sizing, and layouts.

Each chapter explains one idea, shows a worked example and then asks you to write and run your own CSS code in the browser, with tests that check your answer.

The CSS course is free: every chapter, example and exercise is open without a membership.

CSS chapters

  1. Selectors
  2. Colors
  3. The Box Model
  4. Flexbox
  5. Grid
  6. Animations
  7. Positioning
  8. Responsive Design
  9. Variables
  10. Transforms