1plate
2 bento
3#fancy
4plate>apple
/plate apple
5#fancy>pickle
/#fancy pickle
6.small
7orange.small
8bento>orange.small
/bento orange.small
9plate,bento
10*
11plate>*
/plate*
12plate+apple
13bento~pickle
14plate>apple
15plate>orange:first-child
/plate orange:first-child
16plate :only-child
17apple,pickle
/:last-child:not(orange)
18:nth-child(3)
/plate:nth-child(3)
19bento:first-of-type
/bento:nth-last-child(3)
/ :nth-last-child(3):not(orange)
20apple:first-of-type
21:nth-of-type(2n)
/:nth-of-type(even)
/plate:nth-of-type(2n)
/plate:nth-of-type(even)
22:nth-of-type(2n+3)
/plate:nth-of-type(2n+3)
23plate apple:only-of-type
24orange:last-of-type,apple:last-of-type
25bento:empty
26apple:not(.small)
27[for]
28plate[for]
29[for="Vitaly"]
30[for^="Sa"]
31[for$="ato"]
32[for*="obb"]
Tips:注意有一些开头带空格哦。
07-14
1232
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
11-02
4056
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
07-15
3047
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)