滤镜

转载 2007年09月25日 13:51:00
<style type="text/css">
<!--
.title_1 
{ font-family: "Verdana"; font-size: 12px; color: #E1E4EC; width: 100%; filter: DropShadow(Color=#213C63, OffX=1, OffY=1)}

.text 
{ font-family: "Verdana"; font-size: 12px; line-height: 16px; color: #666699; text-decoration: none}

.unnamed1 
{ filter: DropShadow(Color=#FFFFFF, OffX=1, OffY=1)}
-->
</style>
<table width="500" border="0" cellspacing="1" cellpadding="0" bgcolor="#8C96B5" align="center"
    ID
="Table1">
    
<tr>
        
<td bgcolor="#FFFFFF">
            
<table bordercolordark="#ffffff" width="100%" bordercolorlight="#000000" border="0" cellspacing="1"
                cellpadding
="0" ID="Table2">
                
<tr bgcolor="#8C96B5">
                    
<td colspan="2" bgcolor="#8C96B5" width="100%" height="16">
                        
<div align="center" class="title_1">..:: 巧用CSS制作艺术字 ::..</div>
                    
</td>
                
</tr>
            
</table>
        
</td>
    
</tr>
    
<tr>
        
<td bgcolor="#E1E4EC">
            
<table width="100%" border="0" cellspacing="8" cellpadding="0" class="unnamed1" ID="Table3">
                
<tr>
                    
<td class="text">如果灵活应用CSS各种滤镜的特点并加以组合,我们可以得到许多意想不到的效果。这是一些效果示范,供各位参考。</td>
                
</tr>
            
</table>
        
</td>
    
</tr>
    
<tr>
        
<td bgcolor="#E1E4EC">
            
<table width="100%" border="0" cellspacing="8" cellpadding="0" class="unnamed1" ID="Table4">
                
<tr>
                    
<td class="text">
                        
<table align="center" border="0" width="200" height="50" ID="Table5">
                            
<tr>
                                
<td style="FILTER: blur(direction=260,strength=8)" align="center"><font face="黑体" color="#8C96B5" size="6"><b><i>E流设计</i></b></font></td>
                            
</tr>
                        
</table>
                        
<br>
                        用blur滤镜做出的效果,代码如下:
<br>
                        
<b>FILTER: blur(direction=135,strength=8)</b></td>
                
</tr>
            
</table>
        
</td>
    
</tr>
    
<tr>
        
<td bgcolor="#E1E4EC">
            
<table width="100%" border="0" cellspacing="8" cellpadding="0" class="unnamed1" ID="Table6">
                
<tr>
                    
<td class="text">
                        
<table align="center" border="0" width="200" height="50" ID="Table7">
                            
<tr>
                                
<td style="FILTER: dropshadow(color=#B4BBCF,offx=6,offy=6,positive=1)" align="center"><font face="黑体" color="#8C96B5" size="6"><b><i>E流设计</i></b></font></td>
                            
</tr>
                        
</table>
                        
<br>
                        用dropshadow滤镜做出的效果,代码如下:
<br>
                        
<b>FILTER: dropshadow(color=#B4BBCF,offx=6,offy=6,positive=1)</b></td>
                
</tr>
            
</table>
        
</td>
    
</tr>
    
<tr>
        
<td bgcolor="#E1E4EC">
            
<table width="100%" border="0" cellspacing="8" cellpadding="0" class="unnamed1" ID="Table8">
                
<tr>
                    
<td class="text">
                        
<table align="center" border="0" width="200" height="50" ID="Table9">
                            
<tr>
                                
<td style="FILTER: glow(color=#B4BBCF,strength=5)" align="center"><font face="黑体" color="#8C96B5" size="6"><b><i>E流设计</i></b></font></td>
                            
</tr>
                        
</table>
                        
<br>
                        用glow滤镜做出的效果,代码如下:
<br>
                        
<b>FILTER: glow(color=#B4BBCF,strength=5)</b></td>
                
</tr>
            
</table>
        
</td>
    
</tr>
    
<tr>
        
<td bgcolor="#E1E4EC">
            
<table width="100%" border="0" cellspacing="8" cellpadding="0" class="unnamed1" ID="Table10">
                
<tr>
                    
<td class="text">
                        
<table align="center" border="0" width="200" height="50" ID="Table11">
                            
<tr>
                                
<td style="FILTER: alpha(opacity=100,finishiopacity=0,style=1)shadow(color=#8C96B5,direction=135)"
                                    align
="center"><font face="黑体" color="#8C96B5" size="6"><b><i>E流设计</i></b></font></td>
                            
</tr>
                        
</table>
                        
<br>
                        这个效果用到了两种滤镜:shadow和alpha,代码如下:
<br>
                        
<b>FILTER: alpha(opacity=100,finishiopacity=0,style=1)<br>
                            shadow(color=#8C96B5,direction=135)
</b>
                    
</td>
                
</tr>
            
</table>
        
</td>
    
</tr>
    
<tr>
        
<td bgcolor="#E1E4EC">
            
<table width="100%" border="0" cellspacing="8" cellpadding="0" class="unnamed1" ID="Table12">
                
<tr>
                    
<td class="text">
                        
<table align="center" border="0" width="200" height="50" ID="Table13">
                            
<tr>
                                
<td style="FILTER: mask(color=#E1E4EC)shadow(color=#8C96B5,direction=135)chroma(color=#E1E4EC)"
                                    align
="center"><font face="黑体" color="#8C96B5" size="6"><b><i>E流设计</i></b></font></td>
                            
</tr>
                        
</table>
                        
<br>
                        这个效果也用到两个滤镜mask和shadow,代码如下:
<br>
                        
<b>FILTER: mask(color=#E1E4EC)<br>
                            shadow(color=#8C96B5,direction=135)chroma(color=#E1E4EC)
</b><br>
                        
<br>
                        注意:mask的颜色要和网页背景色一致,字体的颜色由shadow决定。
</td>
                
</tr>
            
</table>
        
</td>
    
</tr>
    
<tr>
        
<td bgcolor="#E1E4EC">
            
<table width="100%" border="0" cellspacing="8" cellpadding="0" class="unnamed1" ID="Table14">
                
<tr>
                    
<td class="text">
                        
<table align="center" border="0" width="200" height="50" ID="Table15">
                            
<tr>
                                
<td style="FILTER: mask(color=#E1E4EC)dropshadow(color=#B4BBCF,offx=-3,offy=-3,positive=1)chroma(color=#E1E4EC)"
                                    align
="center"><font face="黑体" color="#8C96B5" size="6"><b><i>E流设计</i></b></font></td>
                            
</tr>
                        
</table>
                        
<br>
                        如果说上面的效果是阴文的话,那么这个效果的应该算是阳文了,用两个滤镜实现mask和dropshadow,注意mask的颜色要和网页背景色一致,或者把mask和chroma成对使用,也可达到同样效果。代码如下:
<br>
                        
<b>FILTER: mask(color=#E1E4EC)<br>
                            dropshadow(color=#B4BBCF,offx=-3,offy=-3,positive=1)
<br>
                            chroma(color=#E1E4EC)"
</b>
                    
</td>
                
</tr>
            
</table>
        
</td>
    
</tr>
    
<tr>
        
<td bgcolor="#E1E4EC">
            
<table width="100%" border="0" cellspacing="8" cellpadding="0" class="unnamed1" ID="Table16">
                
<tr>
                    
<td class="text">
                        
<table align="center" border="0" width="200" height="50" ID="Table17">
                            
<tr>
                                
<td style="FILTER: glow(color=#8C96B5,strength=2)shadow(color=#B4BBCF,direction=135)"
                                    align
="center"><font face="黑体" color="#E1E4EC" size="6"><b><i>E流设计</i></b></font></td>
                            
</tr>
                        
</table>
                        
<br>
                        用glow滤镜可以做空心字,方法是将字体颜色设置为背景色,再将glow滤镜的strenght的值设置为1或2即可。这个效果的代码如下:
<br>
                        
<b>FILTER: glow(color=#8C96B5,strength=2)<br>
                            shadow(color=#B4BBCF,direction=135)
</b>
                    
</td>
                
</tr>
            
</table>
        
</td>
    
</tr>
    
<tr>
        
<td bgcolor="#E1E4EC">
            
<table width="100%" border="0" cellspacing="8" cellpadding="0" ID="Table18">
                
<tr>
                    
<td class="text">
                        
<table height="150" width="200" align="center" background="http://www.e-flowing.com/1/bg_1.jpg"
                            border
="0" ID="Table19">
                            
<tr>
                                
<td style="FILTER: mask(color=#E1E4EC)shadow(color=#B4BBCF,direction=135)chroma(color=#E1E4EC)"
                                    align
="center"><font face="黑体" color="#8C96B5" size="6"><b><i>E流设计</i></b></font></td>
                            
</tr>
                        
</table>
                        
<br>
                        
<br>
                        
<table height="150" width="200" align="center" background="http://www.e-flowing.com/1/bg_2.jpg"
                            border
="0" ID="Table20">
                            
<tr>
                                
<td style="FILTER: glow(strength=1)mask(color=#B4BBCF)chroma(color=#B4BBCF)" align="center"
                                    height
="54"><font face="黑体" color="#8C96B5" size="6"><b><i>E流设计</i></b></font></td>
                            
</tr>
                        
</table>
                        
<br>
                        
<br>
                        
<table height="150" width="200" align="center" background="http://www.e-flowing.com/1/bg_3.jpg"
                            border
="0" ID="Table21">
                            
<tr>
                                
<td style="FILTER: mask(color=#E1E4EC)dropshadow(color=#B4BBCF,offx=-3,offy=-3,positive=1)chroma(color=#E1E4EC)"
                                    align
="center" height="54"><font face="黑体" color="#8C96B5" size="6"><b><i>E流设计</i></b></font></td>
                            
</tr>
                        
</table>
                    
</td>
                
</tr>
                
<tr>
                    
<td class="unnamed1"><font class="text">如果背景采用图片,为了能达到满意的效果需要将mask和chroma组合使用,这样能使字体感觉是透明的,让背景透出来。<br>
                            
<br>
                            上面列出的效果前者的代码是:
<br>
                            
<b>FILTER: mask(color=#E1E4EC)<br>
                                shadow(color=#B4BBCF,direction=135)
<br>
                                chroma(color=#E1E4EC)
</b><br>
                            注意:字体的颜色由shadow决定,mask和chroma的颜色要相同,色彩任意。
<br>
                            
<br>
                            中间的代码是:
<br>
                            
<b>FILTER: glow(strength=1)<br>
                                mask(color=#B4BBCF)
<br>
                                chroma(color=#B4BBCF)
</b><br>
                            注意:mask和chroma的颜色相同,这个颜色决定了字体的颜色。
<br>
                            
<br>
                            后者的代码是:
<br>
                            
<b>FILTER: mask(color=#E1E4EC)<br>
                                dropshadow(color=#B4BBCF,offx=-3,offy=-3,positive=1)
<br>
                                chroma(color=#E1E4EC)
</b><br>
                            注意:mask和chroma的颜色相同,色彩由dropshadow决定。
</font></td>
                
</tr>
            
</table>
        
</td>
    
</tr>
    
<tr>
        
<td bgcolor="#E1E4EC">
            
<table width="100%" border="0" cellspacing="8" cellpadding="0" ID="Table22">
                
<tr>
                    
<td class="text">
                        
<table height="150" cellspacing="0" cellpadding="0" width="480" align="center" background="http://www.e-flowing.com/1/bg_1.jpg"
                            border
="0" ID="Table23">
                            
<tr>
                                
<td style="FILTER: glow(strength=4)mask(color=#E1E4EC)" height="109" align="center"
                                    valign
="middle"><font face="Verdana" color="#8C96B5" size="6"><i><b>WELCOME TO<br>
                                                
<HREF="http://WWW.E-FLOWING.COM</b></i></font></td>" TARGET="_blank">WWW.E-FLOWING.COM</b></i></font></td>
                                
</A>
                            
</tr>
                        
</table>
                    
</td>
                
</tr>
                
<tr>
                    
<td class="unnamed1"><font class="text">这个效果的代码:<br>
                            
<b>FILTER: glow(strength=4)mask(color=#E1E4EC)</b></font></td>
                
</tr>
            
</table>
        
</td>
    
</tr>
</table>

相关文章推荐

App的几十种滤镜

  • 2017年11月08日 13:26
  • 22.88MB
  • 下载

优化网站设计(二十八):避免使用Filters(滤镜)

前言 网站设计的优化是一个很大的话题,有一些通用的原则,也有针对不同开发平台的一些建议。这方面的研究一直没有停止过,我在不同的场合也分享过这样的话题。 作为通用的原则,雅虎的工程师团队曾经...

人像润肤滤镜

  • 2015年03月11日 01:24
  • 983KB
  • 下载

CSS_精通CSS滤镜.chm

  • 2017年08月18日 17:10
  • 184KB
  • 下载

as3.0 用代码设置“调整颜色”滤镜--------即:亮度、对比度、饱和度、色相的调整

相信大家对滤镜这东西,在flash IDE内应用很熟吧?但是在as内怎么用代码实现呢?这个问题还别说,起初真有点犯难,后经高手指点,逐一化解。经验不敢独享,故与大家分享(高手可掠过)。如有疑问,请多多...

人像磨皮滤镜Portrait加强版

  • 2016年08月24日 15:39
  • 11.62MB
  • 下载

播放器,解码器,分离,滤镜概念和区别

收录1,收录2,收录3,下载地址

PSHDR渲染滤镜Nik Software HDR Efex Pro.7z

  • 2015年05月24日 19:37
  • 37.53MB
  • 下载
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:滤镜
举报原因:
原因补充:

(最多只允许输入30个字)