編碼的世界 / 優質文選 / 生涯

純css實現箭頭,上下左右的箭頭


2021年10月17日
-   


右箭頭:
      <style>             #toRight{                 border: 10px solid #FFF;                 border-left-color:#F00;                 }         </style>
        <div id="toRight"></div>
向左的箭頭:
border-right-color:#F00;
width:1px;
向上的箭頭:
border-bottom-color:#F00;
width:1px;
向上的箭頭:
border-top-color:#F00;
width:1px;

熱門文章