利用 CSS 設定外邊框


要利用 CSS 設定外邊框,可以使用border-style 屬性,值設為 outset。

示例

<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:outset;">
         This is outset border.
      </p>
   </body>
</html>

更新時間: 03-Feb-2020

423 次瀏覽

開啟你的職業生涯

完成課程,獲得認證

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