1. 程式人生 > >CSS選擇器練習答案

CSS選擇器練習答案

1、plate2、bento3、#fancy4、plate apple5、#fancy pickle6、.small7、orange.small8、bento orange.small9、plate,bento10、*11、plate *12、plate+apple13、bento~pickle14、plate>apple15、orange:first-child16、plate apple,plate pickle:only-child17、plate apple,pickle;last-child18、plate:nth-child(3)19、bento:nth-last-child(3)20、apple:first-of-type21、plate:nth-of-type(even)22、plate:nth-of-type(2n+3)23、apple:only-of-type24、.small:last-of-type25、bento:empty26、apple:not(.small)27、[for]28、plate[for]29、[for="Vitaly"]30、[for^="Sa"]31、[for$="to"]32、[for*="obb"]