selector.md

August 5, 2016 ยท View on GitHub

Selector Back

SelectorMeaningExample
Universal SelectorTargets all elements on the page* {}
Type SelectorTargets the <h1>, <h2> and <h3> elementsh1, h2, h3{}
Class SelectorTargets any element whose class attribute has a value of note; Targets only

elements whose class attribute has a value of note

.note{} p.note{}