CSS练习小游戏:CSS Diner练习地址及答案

CSS Diner练习地址:https://flukeout.github.io/
在这里插入图片描述

练习题答案

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"]

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/qq_40713201/article/details/126140181