似乎雕刻在頁面上的固定邊框


使用帶有 groove 值的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:groove;">
         This is a border carved into the page.
      </p>
   </body>
</html>

更新於: 03-Feb-2020

84 次瀏覽

開啟你的職業生涯

完成課程獲得認證

開始吧
廣告
© . All rights reserved.