标签:last,attribute,餐厅,value,nth,child,type,选择器,Css From: https://www.cnblogs.com/suzhitester/p/16903500.html网站:https://flukeout.github.io/
题目不懂可百度翻译,答案参考如下:
1 A
2 A
3 #id
4 A B
5 #id A
6 .classname
7 A.className
8 Put your back into it!
9 A, B
10 *
11 A *
12 A + B
13 A ~ B
14 A > B
15 :first-child
16 :only-child
17 :last-child
18 :nth-child(A)
19 :nth-last-child(A)
20 :first-of-type
21 :nth-of-type(A)
22 :nth-of-type(An+B)
23 :only-of-type
24 :last-of-type
25 :empty
26 :not(X)
27 [attribute]
28 A[attribute]
29 [attribute="value"]
30 [attribute^="value"]
31 [attribute$="value"]
32 [attribute*="value"]