4、Glow 滤镜 语法:{filter:glow(color=属性值1,strength=属性值2);}
作用:该滤镜能够在原对象周围产生一种类似发光的效果,其具体效果是由小括号中的各属性名及其对应的属性值来产生的。
参数:COLOR属性是指定发光的颜色。
STRENGTH则是发光强度的表现,也指光晕的厚度;其大小可以从1到255之间的任何整数来指定这个强度。
实例:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>样式表滤镜实例</title>
<style>
<!--
p { color: #FF0000; font-size: 36pt; text-decoration: blink; font-weight: bold }
p {filter:glow(color=#880088,strength=3);}
-->
</style>
</head>
<body>
<p>样式表滤镜实例</p>
</body>
</html>
5、Chroma 滤镜 语法:{filter:chroma(color=属性值);}
作用:该滤镜能够使图像中的某一颜色变成透明色。
参数: COLOR属性用来指定要变为透明色的颜色,通过该属性值的设定,我们可以来过滤某图象中的指定颜色。
实例:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>样式表滤镜实例</title>
<style>
<!--
p { color: #FF0000; font-size: 36pt; text-decoration: blink; font-weight: bold }
[1] [2] [3] 下一页
|