选择器

1.plate  2.bento  3.#fancy  4.plate>apple  5.#fancy>pickle  6.apple.small  7.orange.small  8.bento>orange.small  9.plate,bento  10.*  11.plate>*  12.plate+apple,plate+apple  13.bento~pickle  14.plate>apple  15.orange:first-child  16.apple:only-child,pickle:only-child  17.apple:last-child,pickle:last-child  18.plate:nth-child(3)  19.bento:nth-last-child(4)  20.apple:first-of-type  21.plate:nth-of-type(even)  22.plate:nth-of-type(6n+3),plate:nth-of-type(6n+5)  23.apple:only-of-type  24.orange:last-of-type,apple:last-of-type  25.bento:empty  26.apple:not(.small)

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

相关阅读更多精彩内容

  • CSS选择器常见的有几种? 基础选择器 “*” -> 通用元素选择器,匹配页面任何元素。很少使用 “#” -> i...
    饥人谷_吴亚敏阅读 2,481评论 0 0
  • 基本选择器 *{} 通配符选择器,适用任何元素h1 标签选择器,选择h1标签内元素....
    字母31阅读 3,914评论 0 0
  • 相对于火狐、IE等浏览器来说,字体并没有去做限制最小字体为12px(并不是说没有做限制),而谷歌却做了限制。限制最...
    之乏阅读 14,474评论 1 0
  • 高考结束后的不久我们背离家乡去往远方的大学,踏上了无奈的求学之路?我们每个人身上都背负种种,有家人的期望,自己的理...
    老K理财阅读 3,325评论 0 1

友情链接更多精彩内容