【超好玩的CSS小游戏!!!】CSS Dinner(餐厅游戏)答案【超级全面!!!】

1. CSS Dinner游戏

CSS Dinner是一个帮助初学者快速熟悉css各种选择器的网页游戏

点击开始CSS Dinner

2.CSS Dinnner答案

level1

plate

level2

bento

level3

plate#fancy 或 #fancy 或 plate:first-child 或  plate:first-of-type

level4

plate>apple

level5

plate#fancy>pickle 或 #fancy>pickle

level6

apple.small

level7

orange.small

level8

bento>orange.small

level9

plate,bento

level10

*

level11

plate *

level12

plate+apple

level13

bento~pickle

level14

plate>apple

level15

plate>orange:first-child 或 orange:first-child 或 plate>orange:first-of-type

                                                                     或 orange:first-of-type

level16

apple:only-child,plate>pickle:only-child

level17

apple:last-child,pickle: last-child 或 apple.small,pickle.small 或 apple,pickle 等等

level18

plate:nth-child(3)

level19

bento:nth-last-child(3) 或 bento:first-of-type 或 bento:nth-child(2)

level20

apple:first-of-type 或 apple:nth-child(2)

level21

:nth-child(even) 或 :nth-child(2n)

level22

plate:nth-child(2n+3)

level23

apple:only-of-type 或 apple:only-child

level24

orange:last-of-type,apple:last-of-type

level25

bento:empty

level26

apple:not(.small)

level27

[for]

level28

[for=Sarah],[for=Luke]

level29

[for=Vitaly]

level30

[for^=Sa]

level31

[for$=to]

level32

[for*=obb]

  • 5
    点赞
  • 16
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值