Skip to content

Latest commit

 

History

History
8 lines (6 loc) · 368 Bytes

selector.md

File metadata and controls

8 lines (6 loc) · 368 Bytes

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{}