...
```
#### classes
Classes are great for items that often repeat or that can compound styles
```CSS
.red {
color: red;
}
.bold {
font-weight: bold;
}
```
```html
...
```
---
class: middle
The `cascade` in css refers to the priority in which style rules are applied to a html document
several factors to determine priority, loosely from greatest to least:
1. the `!important` flag on a css property (e.g. `color: red !important;`)
1. inline styles (e.g. `style="color: red;"`)
1. `#[id]` ID selectors (e.g. `#first-pg { color: red; }`)
1. `.[class]` class selectors (e.g. `.graph { color: red; }`)
1. type selectors (e.g. `p { color: red; }`)
---
class: middle
## Getting specific with `selectors`
You can also select the children — the elements within elements — with css
```html
The phenomenon of crown shyness
Crown Shyness is a phenomenon observed in some tree species, in which the
crowns of fully stocked trees do not touch each other, forming a canopy
with channel-like gaps.