Week 3: Review CSS rules
There are four main parts to a style rule:
- Selector: which tag the rule affects
- Declaration: what happens when the rule is applied; composed of property/value pairs
- Property: what will be affected
- Value: how it is affected
We’ll cover classes and IDs next week.