<strike id="3tkic"><sup id="3tkic"></sup></strike>

  1. <ul id="3tkic"></ul>
      <b id="3tkic"><legend id="3tkic"></legend></b>
      <b id="3tkic"><meter id="3tkic"></meter></b>

    • <strike id="3tkic"></strike>

      <blockquote id="3tkic"></blockquote>

    • 亚洲AV无码国产在丝袜线观看_亚洲第一页A∨在线_亚洲国产人成在线观看69网站_无码日韩人妻AV一区免费l

      用CSS繪制三角形箭頭

      2016/11/3 8:59:24   閱讀:1864    發(fā)布者:1864

      用CSS繪制三角形箭頭。使用純CSS,你只需要很少的代碼就可以
      創(chuàng)作出各種瀏覽器都兼容的三角形箭頭!

       

      CSS代碼:

      /* create an arrow that points up */ 
      div.arrow-up { 
          width: 0;  
          height: 0;  
          border-left: 5px solid transparent;  /* left arrow slant */ 
          border-right: 5px solid transparent; /* right arrow slant */ 
          border-bottom: 5px solid #2f2f2f; /* bottom, add background color here */ 
          font-size: 0; 
          line-height: 0; 
      } 
      
      /* create an arrow that points down */ 
      div.arrow-down { 
          width: 0;  
          height: 0;  
          border-left: 5px solid transparent; 
          border-right: 5px solid transparent; 
          border-top: 5px solid #2f2f2f; 
          font-size: 0; 
          line-height: 0; 
      } 
      
      /* create an arrow that points left */ 
      div.arrow-left { 
          width: 0;  
          height: 0;  
          border-bottom: 5px solid transparent;  /* left arrow slant */ 
          border-top: 5px solid transparent; /* right arrow slant */ 
          border-right: 5px solid #2f2f2f; /* bottom, add background color here */ 
          font-size: 0; 
          line-height: 0; 
      } 
      
      /* create an arrow that points right */ 
      div.arrow-right { 
          width: 0;  
          height: 0;  
          border-bottom: 5px solid transparent;  /* left arrow slant */ 
          border-top: 5px solid transparent; /* right arrow slant */ 
          border-left: 5px solid #2f2f2f; /* bottom, add background color here */ 
          font-size: 0; 
          line-height: 0; 
      } 
      

      繪制這些三角形的關鍵在于,你要讓箭頭所指方向的兩個側邊有很粗的邊框。而背向箭頭
      方向的一邊也是同樣粗的邊框,而這條邊的顏色就是你的三角形的顏色。邊框越粗,
      三角形越大。用這種方法你可以繪制出各種顏色、各種大小、各種朝向的箭頭。
      最妙的是,你只需要幾行CSS代碼就能實現(xiàn)這種效果。

       

      亚洲AV无码国产在丝袜线观看_亚洲第一页A∨在线_亚洲国产人成在线观看69网站_无码日韩人妻AV一区免费l
      <strike id="3tkic"><sup id="3tkic"></sup></strike>

      1. <ul id="3tkic"></ul>
          <b id="3tkic"><legend id="3tkic"></legend></b>
          <b id="3tkic"><meter id="3tkic"></meter></b>

        • <strike id="3tkic"></strike>

          <blockquote id="3tkic"></blockquote>

        • 大竹县| 上饶县| 广昌县| 雷波县| 都安| 南京市| 加查县| 武平县| 宁蒗| 台江县| 睢宁县| 新余市| 仪征市| 星子县| 乌恰县| 巴青县| 沾化县| 凤凰县| 通化市| 田林县| 克拉玛依市| 大悟县| 罗源县| 休宁县| 呼和浩特市| 双峰县| 澄迈县| 浦东新区| 宁波市| 洪泽县| 乌兰县| 平乡县| 宁安市| 孙吴县| 汶上县| 定兴县| 同心县| 巨野县| 萍乡市| 乐亭县| 长春市|