CSS pseudo-element, pseudo-class selector, and css pseudo-element Selector
A pseudo-class selector is a defined selector in CSS. It cannot be named by anyone. Common taste buds selector is used on Element a, such as a: link a: visited: hover a: active
The pseudo element selector bin is not a selector for real elements, but a selector for pseudo elements defined in CSS. The following four pseudo element selectors (first-line, first-letter, berfore, after)
CSS four pseudo-element selectors
<1>
<Html>
<2>
<Html>
CSS: four basic structural pseudo-class selectors 1>: root
<Html>
2>: not
<Html>
3>: empty
<Html>
4>: target
<Html>
Other pseudo-class selectors emphasize that when looking for an element, instead of looking for its outer layer, z directly uses the li in the internal layer, so here we use the li element directly ;: first-child: Find the first row in each group; last-child: Find the last row in each group (li in each ul is a group)
<Html>
Parity pseudo Selector
<Html>
What is the difference between the parity selector in CSS and the parity selector in jquery?
<Html>
Color change with custom N rows
<Html>
Find the element of the same type: nth-of-type (n) |: nth-last-of-type (n)
<Html>
Zookeeper