文本阴影效果实例代码

发布时间:2016年2月3日 作者:未知 查看次数:1354

代码如下:


<!DOCTYPE html>

<html>

<head>

<style>

h1

{

text-shadow: 5px 5px 5px #FF0000;

}

</style>

</head>

<body>


<h1>文本阴影效果!</h1>


</body>

</html>

或:


<!DOCTYPE html>

<html>

<head>

<style>

.div_h1

{

text-shadow: 5px 5px 5px #FF0000;

}

</style>

</head>

<body>


<div class="div_h1">文本阴影效果!</div>


</body>

</html>




版权所有!www.sieye.cn
E.Mail:sieye@sohu.com QQ:66697110