selector.md
August 5, 2016 ยท View on GitHub
Selector Back
| Selector | Meaning | Example |
|---|---|---|
| Universal Selector | Targets all elements on the page | * {} |
| Type Selector | Targets the <h1>, <h2> and <h3> elements | h1, h2, h3{} |
| Class Selector | Targets any element whose class attribute has a value of note; Targets only elements whose class attribute has a value of note | .note{} p.note{} |