美文网首页
深入了解CSS3新特性

深入了解CSS3新特性

作者: 二狗的小仙女 | 来源:发表于2017-06-16 23:24 被阅读0次

  CSS 即层叠样式表(Cascading Stylesheet)。Web 开发中采用 CSS 技术,可以有效地控制页面的布局、字体、颜色、背景和其它效果。只需要一些简单的修改,就可以改变网页的外观和格式。CSS3 是 CSS 的升级版本,这套新标准提供了更加丰富且实用的规范。

      目前有很多浏览器已经相继支持这项升级的规范,如:Firefox、Chrome、Safari、Opera 等等。

      CSS3选择器:

          : not(.textinput):这里即表示所有 class 不是“textinput”的节点。 

         

          div:first-child:这里表示所有 div 节点下面的第一个直接子节点。

      CSS3新增选择器

              E:nth-last-child(n)

            E:nth-of-type(n)

            E:nth-last-of-type(n)

            E:last-child

              E:first-of-type

              E:only-child

              E:only-of-type

              E:empty

              E:checked

              E:enabled

              E:disabled

              E::selection

                E:not(s)

     

  CSS3 新增标签 :

    header,footer,nav,section,article

hgroup,aside,figure,audio,canvas等等

相关文章

网友评论

      本文标题:深入了解CSS3新特性

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