美文网首页
拓展选择器

拓展选择器

作者: a5033edd03f9 | 来源:发表于2017-12-13 23:05 被阅读0次

今天学了什么

p:frist-child{}

       第一个孩子

p:last-child{}

       最后一个孩子

p:nth-child(odd){}

      奇数个孩子

p:nth-child(even){}

      偶数个孩子

p:not(){}

      不选择第几个

学会了什么

p:frist-child{}

       第一个孩子

p:last-child{}

       最后一个孩子

p:nth-child(odd){}

      奇数个孩子

p:nth-child(even){}

      偶数个孩子

p:not(){}

      不选择第几个

相关文章

  • css3选择器总结

    选择器分基本选择器和拓展选择器 基本选择器:id选择器,类选择器,元素选择器,通用选择器 拓展选择器:群组选择器,...

  • 拓展选择器

    1.拓展选择器

  • 拓展选择器

    今天学了什么 p:frist-child{} p:last-child{} p:nth-child(odd){} ...

  • 拓展选择器

    1.选择器 2.多行复制:div>p{hello$}*5 3.套a标签的复制:ul>li.item*4>a[hre...

  • 拓展

    1.拓展选择器 2.Emmet语法 3.样式写出三角形

  • CSS3.0新特性

    什么是 CSS3? 在CSS2`的基础上拓展、新增的样式1.属性选择器列表 例子: 2.结构伪类选择器 3.伪元素...

  • day10

    A今天学了什么 1.配置安装sass 2.scss 的语法 .3拓展选择器 B今天学会了什么 1.配置安装sass...

  • web-7

    目录1 定位2 装饰3 选择器拓展 一、定位 目标:能够说出 定位 的常见应用场景,并且能够说出 不同定位方式 的...

  • 「CSS 」选择器

    选择器简单选择器标签选择器类选择器id 选择器通配符选择器属性选择器伪类选择器其他选择器伪元素选择器组合选择器选择...

  • CSS 理解

    选择器 通用选择器: id选择器 class选择器 元素选择器 子选择器 后代选择器 伪类选择器 伪元素选择器: ...

网友评论

      本文标题:拓展选择器

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