阿七
级别: 未验证会员
精华:
0
发帖: 909
威望: 0 点
金钱: 2161 RMB
贡献值: 0 点
在线时间:512(小时)
注册时间:2006-03-29
最后登录:2008-08-07
|
Css不朽的经典—3D文字特效
效果: W TXD4} mVc'%cPaw 3D Text ?<>,XyY 以下是一个用了blur滤镜而另一个没用的叠加效果 $ ufSNx(F dw{#|| Ttop.cn Ttop.cn .g(\B NIWI6qCw Glass Text @4 Os?_gJ\ 这个是两个都用了alpha滤镜的效果 ulz\x2[Pf aOAwezfYR Ttop.cnTtop.cn &2<
&X( ) N%n1>!X)! Inner Shadow $Z(g=nS> 这个是先用了一段白色的文字,再加了mask()滤镜,再用了shadow()滤镜,最后加入chroma()滤镜形成后一段字体,放在前一段文字的相对left: -200px位置上形成的。 AK*mcTr xsY>{/C Ttop.cnTtop.cn 2EqsfU*
I N
,sqr k] Outline Text [#P`_hx 用mask, glow and chroma三个滤镜联合作用 Nak'g/uP> ^NnU gj Ttop.cn c=jI.=mi3 vhE}{ED 与Marquee的完美结合 m|e*Jc www.Ttop.cnwww.Ttop.cn E^EU+})Ujr q _T?G e 源代码: hI>rtaY_ . ;ea]_Z <style type="text/css"> _1>(GK5[ <!-- n[MIa]dK .sample $jm>tW&; font-style: italic; font-family: arial black;font-size: 40px; font-weight: bold; cursor: hand; #iqhm,u7D 8NF;k5 --> G
&rYz </style> +N(YR3 <title>Css不朽的经典—3D文字特效</title> 3Ld ;zW <div> sKB-7 <h2>3D Text</h2> /Y\E68_Fh <p>以下是一个用了blur滤镜而另一个没用的叠加效果</p> ?C>VB+X}y <p onClick="alert(this.innerHTML)"> <span class="sample" n.8A
Ka6 style="width: 200px; height: 70; color: black; filter: Blur(Add=0, Direction=135, Strength=10);" 7p>-oR" >Ttop.cn</span><span class="sample" +VpE-X=T style="position: relative; left: -201; top: -15; width: 200; color: #2984ff;"> }^Ua Ttop.cn</span> </p> 6t
mNfI34 <h2>Glass Text</h2> v YmtpKNj% <p>这个是两个都用了alpha滤镜的效果</p> 84oW <p onClick="alert(this.innerHTML)"> <span class="sample" m9<[bEO<$ style="width: 200px; height: 70; color: lightskyblue; filter: Alpha(Opacity=60) Blur(Add=0, Direction=135, Strength=20);" U0bEB >Ttop.cn</span><span class="sample" 8hdAXWPn style="position: relative; left: -201; top: -15; width: 200; color: lightskyblue; filter: Alpha(Opacity=60);" ao";5m >Ttop.cn</span> </p> 8,H5G` <h2>Inner Shadow</h2> vhquHy.qi# <p>这个是先用了一段白色的文字,再加了mask()滤镜,再用了shadow()滤镜,最后加入chroma()滤镜形成后一段字体,放在前一段文字的相对left: A7,$y!D -200px位置上形成的。</p> 3f2Hjk7,d <p onClick="alert(this.innerHTML)"> <span class="sample" (h>X:! style="width: 200px; height: 70; color: white;" \`%Y-!H+v >Ttop.cn</span><span class="sample" d
@kLLDP style="width: 200px; height: 70; position: relative; left: -200; filter: mask(color=red) shadow(direction=135) chroma(color=red);" 0*:hm%g >Ttop.cn</span> </p> ESf7b `tS <h2>Outline Text</h2> g(Xg%&@KZ <p>用mask, glow and chroma三个滤镜联合作用</p> m<'xlF <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> SnF[mN' <h2>与Marquee的完美结合</h2> *I1W+W`G <p onClick="alert(this.innerHTML)"> <span class="sample" ${?ex nb$ style="width:320px; height: 70; color: black; filter: Blur(Add=0, Direction=135, Strength=10);" 2=,Sz1`t ><marquee width:300 height:70 scrollamount="1" behavior="alternate" class="sample">www.Ttop.cn</marquee></span> ?kFCYZK|" <span class="sample" tD0>(41K
style="position: relative; left: -320; top: -15; width: 320; color: #2984ff;"> .rB;zA;4S) <marquee width:320 height:70 scrollamount="1" behavior="alternate" class="sample">www.Ttop.cn</marquee></span> </p> I~]mX; </div>
|
|
[楼 主]
|
Posted: 2006-04-05 09:03 |
| |