Give feedback as an early user and get the docs plus a full website free. Code FRIEND: valid on one-time purchases only.

Learn CSS

CSS is what makes the web beautiful. It styles and lays out your HTML content, and the best place to learn it in depth is Mozilla's official guide: beginner-friendly, comprehensive, and always up-to-date.

Access Mozilla Learn CSS

The complete CSS guide, straight from the source.

Visit guide

What you'll learn

Selectors

Target the right elements with classes, IDs, and combinators.

Colors & Backgrounds

Apply colors, gradients, and background images with confidence.

Typography

Control fonts, sizing, spacing, and readable text styles.

Layouts & Grids

Arrange content with Flexbox, CSS Grid, and the box model.

Responsive Design

Adapt your pages to every screen size with media queries.

Transitions & Animations

Bring interfaces to life with smooth, tasteful motion.

Mastering CSS lets you turn plain markup into polished, responsive pages. Once you're comfortable styling content, move on to Learn JavaScript to add interactivity.