使用 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.