我们用DHTML做一个燃烧的文字特效。


在<head>标记对间加入:
<style type=text/css>
.fire
 font-family ″隶书″
font-size50
filterglowcolor=#FF8000strengh=0
widthauto
heightauto
positionrelative

</style>
//这里定义一个fire样式,字体为隶书,并用了过滤器filter的glow方法,使文字边缘产生发光效果。
在<body>标记对间加入:
<div id=theLayer style=positionabsolutewidth302pxheight100pxz-index1left180pxtop92px>
<table>
<tr>
<td class=fire>燃烧的文字
</tr>
</table>
</div>
//定义了层thelayer,并引用样式fire
好了,是不是很简单,但效果却很好哟!(厦门 綦小刚)}

 

Oicq:27994935 Mb:13070271291
designcool@263.net