About this course
Learn CSS from scratch, step by step: beginner, intermediate and advanced lessons on selectors, colors, fonts, the box model, Flexbox, Grid, responsive design, animations and modern CSS, with practical code examples and projects.
This beginner course has 17 modules and 77 lessons, about 6 h 15 min in all. It is self-paced: work through the lessons in order, or open any lesson from the course content below.
What you'll learn
- Beginner: Getting Started with CSS
- Beginner: CSS Selectors
- Beginner: Colors, Text and Fonts
- Beginner: The CSS Box Model
- Beginner: Styling Common Elements
- Intermediate: The Cascade and Advanced Selectors
- Intermediate: Positioning and Layering
- Intermediate: Flexbox Layout
- Intermediate: CSS Grid Layout
- Intermediate: Responsive Web Design
- Intermediate: Floats and Visual Effects
- Intermediate: CSS Components and UI Patterns
- Advanced: CSS Variables and Modern Functions
- Advanced: Transitions, Transforms and Animations
- Advanced: Modern CSS Features
- Advanced: Cutting-Edge CSS
- Advanced: Professional CSS: Architecture, Performance and Debugging
Course content
17 modules · 77 lessons · 6 h 15 min total
Module 1Beginner: Getting Started with CSS
Module 2Beginner: CSS Selectors
Module 3Beginner: Colors, Text and Fonts
Module 4Beginner: The CSS Box Model
- 4.1The CSS Box Model Explained: Content, Padding, Border and Margin Article 5 min
- 4.2CSS Borders: Style, Width, Color and Shorthand Article 5 min
- 4.3CSS Margins: Spacing Outside Elements Article 5 min
- 4.4CSS Padding: Spacing Inside Elements Article 5 min
- 4.5CSS Height, Width and max-width Article 5 min
- 4.6CSS Outline: outline, outline-offset and Focus Rings Article 5 min
- 4.7box-sizing: border-box and Why Everyone Uses It Article 3 min
- 4.8CSS Units: px, %, em, rem, vw and vh Article 4 min
- 4.9The display Property: block, inline and inline-block Article 4 min
- 4.10Beginner Project: Style a Profile Card Article 5 min
Module 5Beginner: Styling Common Elements
Module 6Intermediate: The Cascade and Advanced Selectors
Module 7Intermediate: Positioning and Layering
Module 8Intermediate: Flexbox Layout
Module 9Intermediate: CSS Grid Layout
Module 10Intermediate: Responsive Web Design
Module 11Intermediate: Floats and Visual Effects
- 11.1CSS Float and Clear: The Old Layout Method Explained Article 5 min
- 11.2CSS Filters and backdrop-filter Article 4 min
- 11.3CSS Multiple Backgrounds and background-attachment Article 5 min
- 11.4CSS Border Images Article 5 min
- 11.5CSS Text Effects: text-overflow, word-break and overflow-wrap Article 5 min
- 11.6CSS Image Styling: Rounded, Thumbnail, Responsive and Hover Effects Article 5 min
- 11.7CSS Image Sprites Article 6 min
- 11.8Blend Modes, clip-path and CSS Masks Article 5 min
- 11.9CSS Counters and Generated Content Article 5 min
Module 12Intermediate: CSS Components and UI Patterns
- 12.1CSS Buttons: Styles, Sizes, Colors and Hover Effects Article 6 min
- 12.2CSS Pagination: Build Page Number Links Article 5 min
- 12.3CSS Dropdown Menus Article 6 min
- 12.4CSS Tooltips Article 6 min
- 12.5CSS Multiple Columns: column-count and column-width Article 6 min
- 12.6CSS User Interface Properties: resize, cursor, caret-color and user-select Article 6 min
Module 13Advanced: CSS Variables and Modern Functions
Module 14Advanced: Transitions, Transforms and Animations
Module 15Advanced: Modern CSS Features
Module 16Advanced: Cutting-Edge CSS
- 16.1Feature Queries with @supports and Progressive Enhancement Article 4 min
- 16.2Modern CSS Colors: oklch(), color-mix() and currentColor Article 5 min
- 16.3Custom Fonts with @font-face and Variable Fonts Article 5 min
- 16.4Modern Text Styling: text-wrap, line-clamp, writing-mode and hyphens Article 5 min
- 16.5Scroll-Driven Animations and View Transitions Article 5 min
- 16.6@property, @starting-style and Animating to display: none Article 5 min
- 16.7CSS Frameworks and Preprocessors: Tailwind, Bootstrap and Sass Article 4 min