您当前位置: 首页 >  WEB技术 >  CSS给文字描边实现发光文字
2013/4/16 18:09:42 分类:WEB技术

CSS给文字描边实现发光文字

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>CSS发光文字效果</title>
<style type="text/css">
<!--
body {
 background-color: #000;
}
.text { float:left; color:#990000; filter:Dropshadow(offx=1,offy=0,color=#ffffff) Dropshadow(offx=0,offy=1,color=#ffffff) Dropshadow(offx=-1,offy=0,color=#ffffff) Dropshadow(offx=0,offy=-1,color=#ffffff); font-size:14px; font-weight:bold;}
-->
</style>
</head>

<body>
<font class="text">自古英雄谁无死,留取丹心照汗青!</font>
</body>
</html>

本文由胡金金个人网站整理发布,转载请注明地址:http://www.hujinjin.com/info/210.html

凡标明来源于胡金金个人网站的文章,皆为本站整理发布,若转载此文必须附原文链接,对部分平台更改其文内容当自己原创者,胡金金个人网站将保留其追究权利!
个人资讯推荐
友情链接