使用 CSS 劃掉文字


使用 *text-decoration* 屬性來使用 CSS 劃掉文字。你可以執行以下程式碼來劃掉文字

<html>
   <head>
   </head>
   <body>
      <p style = "text-decoration:line-through;">
         This will be striked through.
      </p>
   </body>
</html>

更新於: 2020 年 1 月 31 日

1K+ 瀏覽量

開啟你的職業生涯

完成課程獲得認證

開始
廣告