使用 CSS 將輪廓線設定為虛線


設定輪廓線為虛線,使用 輪廓 屬性,值為 "dotted" − 

示例

<html>
   <head>
   </head>
   <body>
      <p style = "outline-width:7px;outline-style:dotted;">
         This text is having 7px dotted outline.
      </p>
   </body>
</html>

更新於:04-Mar-2020

178 次瀏覽

開啟你的 職業 生涯

透過完成課程獲得認證

開始體驗
廣告
© . All rights reserved.