计算器

1.plate 元素选择器
2.bento 元素选择器
3.#fancy ID选择器
4.plate apple 后代选择器
5.#fancy pickle ID选择器 后代选择器

  1. .small 类选择器
  2. orange.small 类选择器 群组选择器
  3. bento orange.small 复合选择器 类选择器
  4. bento,plate 群组选择器
    • 通用选择器
  5. plate * 元素选择器 通用选择器
  6. plate+apple 兄弟选择器
  7. bento~picke 兄弟选择器
  8. plate>apple 子元素选择器
  9. orange:first-child 选择第一个子标签
  10. plate apple,plate pickle:only-child 匹配属于其父元素的唯一子元素的每个元素
  11. apple,pickle:last-child 选择最后一个子标签
  12. plate:nth-child(3) 指定位置的子标签
  13. bento:nth-last-child(4)匹配属于其父元素的最后一个子元素的每个元素
  14. apple:first-of-type 选择指定类型的子元素
  15. plate:nth-of-type(even) 选择指定偶数的子元素
  16. plate:nth-of-type(2n+3) 伪类选择器
  17. apple:only-of-type 指定属于父元素的特定类型的唯一子元素
  18. .small:last-of-type 选择指定最后的子元素
  19. bento:empty 匹配没有子元素的元素
  20. apple:not(.small) 否定伪元素选择器

你可能感兴趣的:(计算器)