CSS Basics
Difficulty: Beginner
17 lessons
Learn CSS Basics through interactive coding lessons. Build real projects and master essential skills.
Curriculum
Course Curriculum
5 sections · 17 lessons
1
Getting Started with CSS
3 lessons
- What Is CSS?
- Anatomy of a CSS Rule
- Three Ways to Add CSS
2
Selectors and the Cascade
3 lessons
- Element, Class, and ID Selectors
- Combinators and Grouping
- Specificity and the Cascade
3
Colors, Backgrounds, and Text
3 lessons
- Colors in CSS
- Backgrounds and Gradients
- Styling Text and Fonts
4
The Box Model
4 lessons
- The Box Model
- Padding, Border, and Margin
- Sizing and box-sizing
- Borders, Radius, and Shadows
5
Display, Units, and Positioning
4 lessons
- Display: block, inline, inline-block
- CSS Units: px, %, em, rem, vw, vh
- Positioning: relative, absolute, fixed
- Project: Build a Profile Card