首页 > 代码库 > CSS 给文字加阴影

CSS 给文字加阴影

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

<title>阴影文字</title>

</head>

<body>

<div style="font-size:36pt; font-family: Arial ; color: red; position: relative; filter: blur(add=1, direction=45, strength=3); height:96px">问君能有几多愁,恰似一江春水向东流!</div>

</body>

</html>