前端-03

作者: 张露锋 | 来源:发表于2018-11-17 14:12 被阅读0次

1:plate 元素选择器
2:bento 元素选择器
3:#fancy ID选择器
4:plate apple 后代元素选择器
5:#fancy pickle 复合选择器
6:.small 类选择器
7:bento .small,plate .small 并集选择器
8:bento orange 后代元素选择器
9:plate,bento,plate 并集选择器
10:* 通配选择器
11:plate * 后代元素选择器
12:plate +apple 兄弟元素选择器
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选择器

相关文章

  • 【前端】2020-03-06

    【前端】2020-03-06

  • web前端特效演示合集

    前端特效01:使用纯CSS实现书籍3D翻页效果 前端特效02:使用纯CSS实现动态太极 前端特效03:HTML5画...

  • 01 Web 前端安全相关

    01 前端安全系列(一):如何防止XSS攻击?02 前端安全系列(二):如何防止CSRF攻击?03 AJAX请求真...

  • HTML的全面review

    Date:2018-03-08 前端的三大主体 HTML ? 结构CSS ? 表现Javascript ...

  • 前端03

    1.伪类选择器 伪类专门用来表示元素的一种特殊的状态 2伪元素选择器 3选择器的优先级 内联样式ID选择器类和伪类...

  • 前端-03

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

  • 前端03

  • github 个人博客搭建笔记

    title: github 个人博客搭建笔记date: 2018-08-03 17:32:13tags: 前端 个...

  • do-while语句

    三个循环详细解读,你确定不看一下吗? 2017-03-26Web前端精髓 微信号:css-js 欢迎观临Web前端...

  • 前端工程化系列[04]-Grunt构建工具的使用进阶

    在前端工程化系列[02]-Grunt构建工具的基本使用和前端工程化系列[03]-Grunt构建工具的运转机制这两篇...

网友评论

      本文标题:前端-03

      本文链接:https://www.haomeiwen.com/subject/ilnbfqtx.html