网址:餐厅练习
plate
bento
<plate id="fancy" />
plate#fancy
plate>apple
plate#fancy>pickle
apple.small
orange.small
bento>orange.small
plate,bento
plate>*
plate+apple.small,plate+apple
bento~pickle
plate>apple
plate>orange:first-child
plate>apple,plate>pickle
plate#fancy>apple.small,pickle.small
plate:nth-child(3)
bento:first-of-type
apple:first-of-type
plate:nth-child(even)
plate:nth-child(2n+3)
plate:nth-child(2)>apple.small
orange:last-of-type,apple:last-of-type
bento:empty
apple:not(.small)
*[for]
plate[for]
*[for=Vitaly]
*[for^=Sa]
*[for$=ato]
*[for*=obb]