乡下人产国偷v产偷v自拍,国产午夜片在线观看,婷婷成人亚洲综合国产麻豆,久久综合给合久久狠狠狠9

  • <output id="e9wm2"></output>
    <s id="e9wm2"><nobr id="e9wm2"><ins id="e9wm2"></ins></nobr></s>

    • 分享

      插入項(xiàng)目編號(hào)

       融水公子 2018-09-09
      源代碼:
      <!DOCTYPE html>
      <html lang="en">
      <head>
      <meta charset="UTF-8">
      <title>插入編號(hào)</title>
      <style>
      h1:before{
      content: counter(jshuqi);/*計(jì)數(shù)器*/
      }
      h1{
      counter-increment:jshuqi ;/*元素追加到h1*/
      }
      </style>
      </head>
      <body>
      <h1>插入編號(hào)</h1>
      <p>昨日,記者在“趣住”上隨機(jī)與一位房客私聊,對(duì)方開門見山邀請(qǐng)</p>
      <h1>插入編號(hào)</h1>
      <p>昨日,記者在“趣住”上隨機(jī)與一位房客私聊,對(duì)方開門見山邀請(qǐng)</p>
      <h1>插入編號(hào)</h1>
      <p>昨日,記者在“趣住”上隨機(jī)與一位房客私聊,對(duì)方開門見山邀請(qǐng)</p>
      <h1>插入編號(hào)</h1>
      <p>昨日,記者在“趣住”上隨機(jī)與一位房客私聊,對(duì)方開門見山邀請(qǐng)</p>
      <h1>插入編號(hào)</h1>
      <p>昨日,記者在“趣住”上隨機(jī)與一位房客私聊,對(duì)方開門見山邀請(qǐng)</p>
      <h1>插入編號(hào)</h1>
      <p>昨日,記者在“趣住”上隨機(jī)與一位房客私聊,對(duì)方開門見山邀請(qǐng)</p>
      </body>
      </html>
      這是實(shí)現(xiàn)的效果:

      2引入文字
      更改:
      h1:before{
      content:'第' counter(jshuqi)'講';/*計(jì)數(shù)器*/
      }
      h1{
      counter-increment:jshuqi ;/*元素追加到h1*/
      }
      3指定編號(hào)的樣式
      h1:before{
      content: counter(jshuqi)'.';/*計(jì)數(shù)器*/
      color: #06ff29;
      font-size: 48px;
      }
      h1{
      counter-increment:jshuqi ;/*元素追加到h1*/
      } 
      4 編號(hào)種類 upper-alpha大寫字母
      h1:before{
      content: counter(jshuqi,upper-alpha)'.';/*計(jì)數(shù)器*/
      color: #06ff29;
      font-size: 48px;
      }
      h1{
      counter-increment:jshuqi ;/*元素追加到h1*/
      換成阿拉伯?dāng)?shù)字:content: counter(jshuqi,upper-roman)'.';/*計(jì)數(shù)器*/
       
       




       
      分享知識(shí),分享快樂!希望中國站在編程之巔!

                     ----

      公眾微信號(hào):rsgz520

      360圖書館館號(hào):rsgz002.360doc.com

        轉(zhuǎn)藏 分享 獻(xiàn)花(0

        0條評(píng)論

        發(fā)表

        請(qǐng)遵守用戶 評(píng)論公約

        類似文章 更多