久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長資訊網
      最全最豐富的資訊網站

      css3中content的用法是什么

      在css3中,content屬性與“:before”及“:after”偽元素配合使用,用于在元素的前后插入內容,語法為“元素:before{content:"插入的內容";}”和“元素:after{content:"插入的內容";}”。

      css3中content的用法是什么

      本教程操作環(huán)境:windows10系統(tǒng)、CSS3&&HTML5版、Dell G3電腦。

      css3中content的用法是什么

      content 屬性與 :before 及 :after 偽元素配合使用,來插入內容。

      語法如下:

      content: normal|none|counter|attr|string|open-quote|close-quote|no-open-quote|no-close-quote|url|initial|inherit;

      其中:

      css3中content的用法是什么

      示例如下:

      <html> <head> <meta charset="utf-8"> <title>123</title> <style> p:before {    content:"好好學習,"; } </style> </head> <body> <p>天天向上</p> </body> </html>

      輸出結果:

      css3中content的用法是什么

      (學習視頻分享:css視頻教程)

      贊(0)
      分享到: 更多 (0)
      網站地圖   滬ICP備18035694號-2    滬公網安備31011702889846號