手机站
网通分站
电信主站
密 码:
用户名:
当前位置 : 主页>网页制作>css>列表

最基本的几种 CSS 文字滤镜效果

来源:互联网 作者:west263.com 时间:2008-02-23
西部数码-全国虚拟主机10强!40余项虚拟主机管理功能,全国领先!双线多线虚拟主机南北访问畅通无阻!免费赠送企业邮局,.CN域名,自助建站480元起,免费试用7天,满意再付款! P4主机租用799元/月.月付免压金!
闲来无事,整理一些CSS文字效果,给初学者。下面做个例子吧,这都是最基本滤镜的应用,其实两种或几种不同滤镜的组合会获得意想不到的效果,遇到问题自己多动手试试就OK了,当然要特别注意颜色的搭配,有时候用色不好是看不出效果的,配合背景图片的应用也会有很好的效果的。因为太懒,所以没有写注释也没有写什么语法格式,自己看看吧! 嘿嘿。(看不明白别骂我呀)

1、效果图:

一路阳光
一路阳光

一路阳光

一路阳光

一路阳光

一路阳光
一路阳光
一路阳光
一路阳光

SUNNY

SUNNY

一路阳光
一路阳光
一路阳光
一路阳光
一路阳光
一路阳光
一路阳光
一路阳光

2、源代码

<table border=1 style="border-style: solid; border-width: 1;font-size=12px" width="520">
<tr>
<td width="510">
<span style="font-size:30pt;display:block;
text-align:center;color:blue;
filter:glow(color=red,strength=10);height:1">一路阳光 </span></td>
</tr>
<tr>
<td width="510">
<span style="font-size:30pt;display:block;
text-align:center;color:darkblue;
filter:blur(add=t,direction=135,strength=10);height:1">一路阳光</span></td>
</tr>
<tr>
<td width="510">
<div style="color:red;font-size:25pt;height:1;display:block;
filter:progid:DXImageTransform.Microsoft.motionblur(strength=30,add=1,direction=135)">
<p align="center"> 一路阳光</div></td>
</tr>
<tr>
<td width="510">
<div style="height:1;width:100%;
font-family:impact;font-size:30pt;color:navy;display:block;
filter:progid:DXImageTransform.Microsoft.wave(Strength=3)">
<p align="center"> 一路阳光</div></td>
</tr>
<tr>
<td width="510">
<div style="height:1;width:100%;
font-family:impact;font-size:30pt;color:navy;display:block;
filter:progid:DXImageTransform.Microsoft.wave(Strength=3,freq=5)">
<p align="center"> 一路阳光</div></td>
</tr>
<tr>
<td width="510">
<span style="font-size:30pt;display:block;
text-align:center;color:darkblue;
filter:wave(add=t,freq=5,lightstrength=5,phase=0,strength=5);
height:1">一路阳光</span></td>
</tr>
<tr>
<td width="510">
<span style="font-size:30pt;display:block;

文章整理:西部数码--专业提供域名注册虚拟主机服务
http://www.west263.com
以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!