餐厅游戏

1、plate:类型(元素)选择器

2、bento:类型(元素)选择器

3、#fancy:ID选择器

4、plate apple:后代选择器

5、#fancy pickle:交集选择器(可将任何选择器与后代选择器结合使用)

6、.small:类选择器

7、orange.small:交集选择器(可将类选择器与其他选择器结合)

8、bento orange.small:交集选择器

9、plate,bento:交集选择器

10、*:通配选择器

11、plate>*:交集选择器

12、plate+apple:兄弟选择器

13、bento~pickle:兄弟选择器

14、plate>apple:子元素选择器

15、plate orange:first-child :其他子元素选择器

16、plate :only-child :其他子元素选择器

17、#fancy :last-child,pickle:last-child :其他子元素选择器

18、plate:nth-child(3):其他子元素选择器

19、:nth-last-child(4) :其他子元素选择器

20、apple:first-of-type :其他子元素选择器

21、plate:nth-of-type(even) :其他子元素选择器

22、plate:nth-of-type(2n+3):其他子元素选择器

23、plate apple.small:only-of-type:其他子元素选择器

24、orange.small:last-of-type,apple.small:last-of-type:其他子元素选择器

25、bento:empty:空选择器

26、apple:not(.small):否定伪类

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • 第一关: plate ,(plate元素)第二关 : bento ,(bento元素)第三关 : #fanc...
    3e0a50393df8阅读 894评论 0 0
  • 列表 在网页中一共有三种列表: 1、无序列表:ul li 2、有序列表:ol 3、定义列表:用于对一些词汇...
    Ancestor楠阅读 329评论 0 1
  • 1、plate:类型(元素)选择器 2、bento:类型(元素)选择器 3、#fancy:ID选择器 4、plat...
    琉佳阅读 113评论 0 4
  • 1.plate 元素选择器 2.bento 元素选择器 3.#fancy ID选择器 4.plate>apple ...
    叫我阿领就好阅读 290评论 0 0
  • 7.27 听亲人和亲戚打电话,涂在草稿纸上
    季然effie阅读 115评论 0 0