html小游戏

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,div

    元素选择器

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.    :nth-child(3)

    子伪选择器

19.     :nth-last-child(4)

    子选择器

20.    apple:first-of-type

    类型选择器

21.    :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)

    否定伪类

©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容