首页htmlh1_6HTML Element Style - 如何添加文本阴影

HTML Element Style - 如何添加文本阴影

我们想知道如何添加文本阴影。

<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
body {
  background: #6299ec;
  font-family: 'Arial';
}

h3 {
  text-shadow: 0px 2px 0px #fff;
  color: blue;
  font-size: 3em;
}
</style>
</head>
<body>
  <h3>Some text</h3>
  <h3 style="text-shadow: none">Another text</h3>
</body>
</html>