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
Your progress
of lessons completed.
Course completed.
What you'll learn
Style an HTML page deliberately and build responsive layouts with Flexbox and Grid.
Take this course offline
Subscribe to my newsletter to get every free book and course in PDF and EPUB format.
Get the downloadsCourse 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.