使用 CSS 設定文本週圍的陰影


使用 text-shadow 屬性設定文本週圍的陰影。你可以嘗試執行以下程式碼以瞭解如何在 CSS 中設定文本週圍的陰影

示例

<html>
   <head>
   </head>
   <body>
      <p style = "text-shadow:3px 1px 4px green;">
         If your browser supports the CSS text-shadow property, this text will have a green shadow.
      </p>
   </body>
</html>

更新於:2020 年 1 月 31 日

116 次檢視

開啟您的 職業生涯

完成課程獲得認證

開始
廣告
© . All rights reserved.