餐厅选择器

2019-05-27  本文已影响0人  寻_4533

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.apple,pickle:only-child 并集选择器

17.apple,pickle:last-child 并集选择器

18.plate:nth-child(3) 子元素选择器

19.bento:nth-child(2) 子元素选择器

20.apple:first-child 子元素选择器

21.plate:nth-of-type(2n) 子元素选择器

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

23.plate apple:only-of-type 类型选择器

24,orange:last-of-type,apple:last-of-type 子元素选择器

25,bento:empty 类型选择器

26,apple:not(.small) 子元素选择器

上一篇 下一篇

猜你喜欢

热点阅读