目录
plate
bento
#fancy
plate apple
或者
plate>apple
#fancy pickle
.small
orange.small
bento orange.small
或者
bento>orange.small
plate,bento
*
plate *
plate+apple
bento~pickle
plate>apple
plate orange:first-child
plate :only-child
或者
plate>:only-child
.small:last-child
plate:nth-child(3)
bento:nth-last-child(3)
apple:first-of-type
plate:nth-of-type(2n)
plate:nth-of-type(2n+3)
apple:only-of-type
.small:last-of-type
或者
orange:last-of-type,apple:last-of-type
bento:empty
apple:not(.small)
[for]
plate[for]
[for="Vitaly"]
或者
bento[for="Vitaly"]
[for^="S"]
[for$="o"]
或者
[for$="ato"]
或者
[for$="to"]
[for*="obb"]
或者
[for*="ob"]
或者
[for*="bb"]