##
CSS Selectors
1: Type selectors directly as a tag name selector
Features: Select all similar elements
2: id name <label id = "Name"> </ tab>
#name{}
Features: Uniqueness
Role: id divided pages peripheral structure
3: class name (class name)
<Tag class = "Name 1 Name 2"> </ tab>
.name{}
4: comprising a selector (selector progeny sub) section div {}
By looking for child elements of the parent element
5: a group selector
The combined into a single set of selectors write pattern
1 selectors, selectors 2, ........ selector {3}
6: Wildcards (wildcards are rarely used in practice, but the massive elements are written in)
*{}
Select all of the elements of the page
*{margin:0;padding:0;}
7: pseudo-class
Selector: hover {}
When the mouse rolls over, the style is changed
: Target URL used to specify that the target element is a fragment identifier style