代码:
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>无标题文档</title>
<style>
p{
text-align: center;
font: bold 60px helvetica,arial,sans-serif;
color: red;
text-shadow: 0 0 4px white,/*”,“叠加*/
0 -5px 4px #ff3,
2px -10px 6px #fd3,
-2px -15px 11px #f80,
2px -25px 16px #f20;
}
</style>
</head>
<body>
<p>文本阴影:text-shadow</p>
</body>
</html>
效果: