首页 > 其他 > 详细

第二天作业

时间:2018-10-16 21:43:54      阅读:138      评论:0      收藏:0      [点我收藏+]

1.plate 元素选择器

2.bento 元素选择器

3.#fancy id选择器

4.plate apple 子选择器

5.#fancy pickle  复合选择器

6. .small  类选择器

7. bento .small,plate .small 并集选择器

8.bento 后代元素选择器

9.plate,bento,plate 并集选择器

10.  * 通配符选择器

11.plate* 后代元素选择器

12.plate + plate 兄弟元素选择器

13.bento~pickle 兄弟元素选择器

14.plate > apple 子类元素选择器

15.orange:first-child 子元素选择器

16. :only-child 选择器

17.  .small:last-child 子元素选择器

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

19.:nth-last-child(4) 子元素选择器

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

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

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

23.apple:only-of-type 子元素选择器

24.  .small:nth-child(even) 子元素选择器

25.bento:empty 子元素选择器

26.apple:not(.small)(not选择器)

技术分享图片

第二天作业

原文:https://www.cnblogs.com/lining5325/p/9800531.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!