Learn CSS: Introduction
Your first steps in CSS. Connect styles to a page, write rules with the right selectors, understand which rule wins, and style text, colors and backgrounds, then put it together in two small projects.
- Beginner level
- 4 modules
- 19 lessons
- 83 tasks and questions
Syllabus
01Getting Started with CSSWhat CSS is for, how a rule is written, the three ways to attach CSS to a page, and how to keep stylesheets readable and debug them.4 lessons
02Selecting ElementsPoint rules at exactly the right elements with type, class, id and attribute selectors, style link states with pseudo-classes, combine selectors, and learn how the cascade picks a winner.6 lessons
03Visual RulesThe everyday styling properties - font family, size and weight, alignment and decoration, text and background colors, background images, opacity - and when !important is justified.6 lessons
04Projects and ReviewStyle a garden newsletter with well-chosen selectors, design an open day poster with visual rules, then check your understanding with a review quiz.3 lessons