Setup
CSS needs only a text editor and a browser. Create a .css file and link it from your HTML. The browser does the rest.
Lessons
1
Linking CSS & Setup
CSS is written separately from HTML (usually) and linked in. This is the separat…
→
2
Selectors & Properties
Selectors target which HTML elements to style. The more specific the selector, t…
→
3
The Box Model
Every HTML element is a box. This sounds obvious until you try to center somethi…
→
4
Flexbox
Before Flexbox, centering things in CSS required three StackOverflow tabs and a …
→
5
CSS Grid
CSS Grid is the layout system we've wanted since 1996. It arrived in 2017. Bette…
→
6
Responsive Design
Your site will be viewed on phones, tablets, laptops, and 27" monitors. Responsi…
→
7
Animations & Transitions
CSS can animate almost any property. Done well, animations guide attention and p…
→
8
Mini Project: Card Component
Build a polished, responsive card component — the bread and butter of modern web…
→
9
CSS Cheatsheet
Selectors, box model, flexbox, grid, and responsive patterns on one page.
→