久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放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. 站長資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      css怎么實(shí)現(xiàn)文字橫排

      css實(shí)現(xiàn)文字橫排的方法:首先創(chuàng)建一個(gè)HTML示例文件;然后創(chuàng)建p標(biāo)簽;最后通過“writing-mode: horizontal-tb;”屬性實(shí)現(xiàn)文字橫排即可。

      css怎么實(shí)現(xiàn)文字橫排

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

      css怎么實(shí)現(xiàn)文字橫排?

      css實(shí)現(xiàn)文字橫向排列/豎向排列

      writing-mode:書寫模式

      屬性值 效果
      horizontal-tb 橫向排列
      vertical-rl 豎向排列,從右到左
      vertical-lr 豎向排列,從左到右

      舉例如下:

      html:

      <p class="textBox">     <h1>horizontal-tb:橫向排列</h1>     <h1>vertical-rl:縱向排列,從右到左</h1>     <h1>vertical-lr:縱向排列,從左到右</h1></p>

      css:

          <style>         .textBox h1{             width: 200px;             height: 200px;             margin: 10px 10px;             padding: 10px;             float: left;         }         .textBox h1:nth-of-type(1){             writing-mode: horizontal-tb;             background-color: #42b983;         }         .textBox h1:nth-of-type(2){             writing-mode: vertical-rl;             background-color: #42a8b9;         }         .textBox h1:nth-of-type(3){             writing-mode: vertical-lr;             background-color: #81b9aa;         }     </style>

      實(shí)現(xiàn)效果:
      css怎么實(shí)現(xiàn)文字橫排

      推薦學(xué)習(xí):《css視頻教程》

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