- 利用CSs的滤镜功能,制作一个炫丽的文字发光特效,请注意filter滤镜内各个参数的设置情况,这是实现发光的关键,请注意要改变颜色值的说,最好统一修改,选择一个色系,要不然,只能看到很花,但没有发光效果。
<!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>石家庄自动门使用中要注意那些事项</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>