CSS选择练习题

  • 1、plate 类型选择器
  • 2、 bento 类型选择器
  • 3、#fancy ID选择器
  • 4、plate apple 看不懂,蒙的
  • 5、#fancy pickle ID选择器和结合后代
  • 6、.small 类选择器
  • 7、orange small 组合类选择器
  • 8、bento orange
  • 9、plate,bento 逗号组合器组合,选择器,与.逗号!
  • 10、* 通用选择器
  • 11、plate * 组合通用选择器
  • 12、plate + apple 相邻同胞选择器
  • 13、bento ~ pickle 普通同胞选择器
  • 14、plate > apple 儿童选择器
  • 15、orange:first-child 第一子伪选择器
  • 16、:only-child 独生子女伪选择器
  • 17、#fancy*:last-child,apple,pickle 最后一个伪选择器
  • 18、:nth-child(3) 第n代伪选择器
  • 19、:nth-last-child(4) Nth最后一个孩子的选举人
  • 20、apple:first-of-type 第一种选择器
  • 21、plate:nth-of-type(even) Nth型选择器
  • 22、plate:nth-of-type(2n+3) 具有公式的第n型选择器
  • 23、apple:only-of-type 只有类型的选择器
  • 24、orange:last-of-type,apple:last-of-type 最后一种类型的选择器
  • 25、bento:empty 空选择器
  • 26、apple:not(small) 否定伪类
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容