博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
第二天作业
阅读量:4317 次
发布时间:2019-06-06

本文共 682 字,大约阅读时间需要 2 分钟。

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

你可能感兴趣的文章
预培训-阅读-快速阅读并提问
查看>>
拓展KMP以及模板
查看>>
洛谷 P3049 Landscaping ( 贪心 || DP)
查看>>
洛谷 P1059 明明的随机数
查看>>
python 基础大纲
查看>>
window自动任务实现数据库定时备份
查看>>
Windows 7 Ultimate(旗舰版)SP1 32/64位官方原版下载(2011年5月12日更新版)
查看>>
javascript操作cookie
查看>>
深入理解HTTP协议(转)
查看>>
NHibernate讲解
查看>>
客户端—表单验证信息—并能否提交到数据库
查看>>
Android开发环境搭建(原创)
查看>>
java IO流 对文件操作的代码集合
查看>>
js / jquery 获取和设置 FCK Editor 的值
查看>>
OpenJudge计算概论-与7无关的数
查看>>
proxy-target-class="true" 与proxy-target-class="false"的区别
查看>>
npm安装包很慢
查看>>
jquery是如何清除ajax缓存的
查看>>
Android核心分析(转载)
查看>>
自学_HTML<一>
查看>>