使用 CSS 在兩行之間設定邊框


使用具有雙值 border-style 屬性設定帶兩條直線的邊框。你可以嘗試執行以下程式碼實施 border-style 屬性

示例

<html>
   <head>
   </head>
   <body>
      <p style = "border-width:4px; border-style:none;">
         This is a border with none width.
      </p>
      <p style = "border-width:4px; border-style:double;">
         This is a border with two solid lines.
      </p>
   </body>
</html>

更新於:03-Feb-2020

230 次瀏覽

開啟你的 職業生涯

完成課程以獲得認證

開始學習
廣告
© . All rights reserved.