阿七
级别: 未验证会员
精华:
0
发帖: 909
威望: 0 点
金钱: 2161 RMB
贡献值: 0 点
在线时间:512(小时)
注册时间:2006-03-29
最后登录:2008-08-07
|
Css不朽的经典—3D文字特效
效果: Z#rB}
^fZ&QK 3D Text feQ **wI 以下是一个用了blur滤镜而另一个没用的叠加效果 ")d`dj\o &mb{.= Ttop.cn Ttop.cn hCC<?5q )c `7( nY Glass Text I:mr}mv=i 这个是两个都用了alpha滤镜的效果 |`.([2 l<A|d{" ] Ttop.cnTtop.cn 9I4K
}R BocSwf;v. Inner Shadow zG(\+4GE! 这个是先用了一段白色的文字,再加了mask()滤镜,再用了shadow()滤镜,最后加入chroma()滤镜形成后一段字体,放在前一段文字的相对left: -200px位置上形成的。 k |eBJ% u:=7l Ttop.cnTtop.cn 'IwNTM dw*_(ys Outline Text g"}%2~Urf 用mask, glow and chroma三个滤镜联合作用 NxsBX:XDn Fvbh\m
~ Ttop.cn ]@phF _ ]x(!&y:h 与Marquee的完美结合 8|\8O@ www.Ttop.cnwww.Ttop.cn [D\k^h dZ0A3(t 源代码: ^G}47( $xPaYf <style type="text/css"> (2$p{Uf <!-- ?gt l )q .sample nH[yJGZYSA font-style: italic; font-family: arial black;font-size: 40px; font-weight: bold; cursor: hand; H _zo1AW kY-N>E: --> 6[ j.@[t </style> @~"h62=]
- <title>Css不朽的经典—3D文字特效</title> |}Nn!Sj>#; <div> rrik,qyv6 <h2>3D Text</h2> s;01u_ <p>以下是一个用了blur滤镜而另一个没用的叠加效果</p> 3sy (vC <p onClick="alert(this.innerHTML)"> <span class="sample" !Fd~~v style="width: 200px; height: 70; color: black; filter: Blur(Add=0, Direction=135, Strength=10);" q_MG?re >Ttop.cn</span><span class="sample" &m)6J'q3k style="position: relative; left: -201; top: -15; width: 200; color: #2984ff;"> ,9zjFI Ttop.cn</span> </p> i:Y^{\Z?V <h2>Glass Text</h2> QI'Oz{vE <p>这个是两个都用了alpha滤镜的效果</p> 5B3G
@KR <p onClick="alert(this.innerHTML)"> <span class="sample" l5!|I:/*; style="width: 200px; height: 70; color: lightskyblue; filter: Alpha(Opacity=60) Blur(Add=0, Direction=135, Strength=20);" R;uvkg[o >Ttop.cn</span><span class="sample" FWrX3i style="position: relative; left: -201; top: -15; width: 200; color: lightskyblue; filter: Alpha(Opacity=60);" W$hx,VEy` >Ttop.cn</span> </p> -#u=\8 <h2>Inner Shadow</h2> 'YmIKIw <p>这个是先用了一段白色的文字,再加了mask()滤镜,再用了shadow()滤镜,最后加入chroma()滤镜形成后一段字体,放在前一段文字的相对left: cQy2"vtU -200px位置上形成的。</p> S9
]'?| <p onClick="alert(this.innerHTML)"> <span class="sample" nP$Ky1y G style="width: 200px; height: 70; color: white;" qouhuH_WtJ >Ttop.cn</span><span class="sample" &^ 1$^= style="width: 200px; height: 70; position: relative; left: -200; filter: mask(color=red) shadow(direction=135) chroma(color=red);" O_oPh] x) >Ttop.cn</span> </p> H1|?t+oP <h2>Outline Text</h2> _.tVSVp <p>用mask, glow and chroma三个滤镜联合作用</p> }~e8e <p onClick="alert(this.innerHTML)"> <span class="sample" style="width: 200px; height: 70; filter: mask(color=red) glow(color=black, strength=1) chroma(color=red);">Ttop.cn</span> </p> _|kxY'_[8 <h2>与Marquee的完美结合</h2> 3]}D`Qs6 <p onClick="alert(this.innerHTML)"> <span class="sample" +h|`/ &, style="width:320px; height: 70; color: black; filter: Blur(Add=0, Direction=135, Strength=10);" 4VJ-,Z ><marquee width:300 height:70 scrollamount="1" behavior="alternate" class="sample">www.Ttop.cn</marquee></span> x
nsLf?>] <span class="sample" yj 3cyLXw style="position: relative; left: -320; top: -15; width: 320; color: #2984ff;"> SYAyk <marquee width:320 height:70 scrollamount="1" behavior="alternate" class="sample">www.Ttop.cn</marquee></span> </p> eenH0Ovv </div>
|
|
|
|
[楼 主]
|
Posted: 2006-04-05 09:03 |
| |