📄 css滤镜实现各种效果.txt
字号:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>CSS滤镜实现的各种效果</title>
<style type="text/css">
<!--
body,td,th {
font-size: 12px;
}
-->
</style></head>
<body bgcolor="#009900" text="#ffffff">
刷新看看 [F5]
<table width="700" border="3" cellpadding="6" cellspacing="6" bordercolor="#999999">
<tr>
<td align="center" width="140" height="30">图片显示方式</td><td align="center">所对应的代码</td>
</tr>
<tr>
<td width="140" height="105"><img src="images/e1.jpg" border=0 id="image1" style="visibility:hidden; FILTER:revealTrans(Duration=4.0, Transition=23);" width="140" height="105"> </td>
<td><p><script for=window event=onLoad language=vbscript><br>
image1.filters.item(0).apply()<br>
image1.filters.item(0).transition = 10<br>
image1.Style.visibility = ""</p>
<p></script></p>
<p><img src="images/e1.jpg" border=0 id="image1" style="visibility:hidden; FILTER:revealTrans(Duration=4.0, Transition=23);" width="140" height="105"></p></td>
</tr>
<tr>
<td width="140" height="105">
<img src="images/e1.jpg" border=0 id="image2" style="visibility:hidden; FILTER:revealTrans(Duration=4.0, Transition=22);" width="140" height="105">
</td>
<td><p><script for=window event=onLoad language=vbscript><br>
<br>
image2.filters.item(0).apply()<br>
image2.filters.item(0).transition = 11<br>
image2.Style.visibility = ""<br>
image2.filters(0).play(2.0)<br>
<br>
</script></p>
<p> <img src="images/e1.jpg" border=0 id="image2" style="visibility:hidden; FILTER:revealTrans(Duration=4.0, Transition=22);" width="140" height="105"> <br>
</p></td>
</tr>
<tr>
<td width="140" height="105">
<img src="images/e1.jpg" border=0 id="image3" style="visibility:hidden; FILTER:revealTrans(Duration=4.0, Transition=23);" width="140" height="105">
</td>
<td><p><script for=window event=onLoad language=vbscript><br>
<br>
image3.filters.item(0).apply()<br>
image3.filters.item(0).transition = 12<br>
image3.Style.visibility = ""<br>
image3.filters(0).play(2.0)<br>
<br>
</script> </p>
<p> <img src="images/e1.jpg" border=0 id="image3" style="visibility:hidden; FILTER:revealTrans(Duration=4.0, Transition=23);" width="140" height="105"> </p></td>
</tr>
<tr>
<td width="140" height="105">
<img src="images/e1.jpg" border=0 id="image4" style="visibility:hidden; FILTER:revealTrans(Duration=4.0, Transition=22);" width="140" height="105">
</td>
<td><p><script for=window event=onLoad language=vbscript><br>
<br>
image4.filters.item(0).apply()<br>
image4.filters.item(0).transition = 13<br>
image4.Style.visibility = ""<br>
image4.filters(0).play(2.0)<br>
<br>
</script> </p>
<p> <img src="images/e1.jpg" border=0 id="image4" style="visibility:hidden; FILTER:revealTrans(Duration=4.0, Transition=22);" width="140" height="105"> </p></td>
</tr>
<tr>
<td width="140" height="105">
<img src="images/e1.jpg" border=0 id="image5" style="visibility:hidden; FILTER:revealTrans(Duration=4.0, Transition=22);" width="140" height="105">
</td>
<td><p><script for=window event=onLoad language=vbscript><br>
<br>
image5.filters.item(0).apply()<br>
image5.filters.item(0).transition = 14<br>
image5.Style.visibility = ""<br>
image5.filters(0).play(2.0)<br>
<br>
</script> </p>
<p> <img src="images/e1.jpg" border=0 id="image6" style="visibility:hidden; FILTER:revealTrans(Duration=4.0, Transition=22);" width="140" height="105"></p></td>
</tr>
<tr>
<td width="140" height="105">
<img src="images/e1.jpg" border=0 id="image6" style="visibility:hidden; FILTER:revealTrans(Duration=4.0, Transition=22);" width="140" height="105">
</td>
<td>
<p><script for=window event=onLoad language=vbscript><br>
image6.filters.item(0).apply()<br>
image6.filters.item(0).transition = 15<br>
image6.Style.visibility = ""<br>
image6.filters(0).play(2.0)<br>
</script> </p>
<p><img src="images/e1.jpg" border=0 id="image6" style="visibility:hidden; FILTER:revealTrans(Duration=4.0, Transition=22);" width="140" height="105"></p></td>
</tr>
</table>
<p> </p>
<p><br>
<script for=window event=onLoad language=vbscript>
image1.filters.item(0).apply()
image1.filters.item(0).transition = 10
image1.Style.visibility = ""
image1.filters(0).play(2.0)
image2.filters.item(0).apply()
image2.filters.item(0).transition = 11
image2.Style.visibility = ""
image2.filters(0).play(2.0)
image3.filters.item(0).apply()
image3.filters.item(0).transition = 12
image3.Style.visibility = ""
image3.filters(0).play(2.0)
image4.filters.item(0).apply()
image4.filters.item(0).transition = 13
image4.Style.visibility = ""
image4.filters(0).play(2.0)
image5.filters.item(0).apply()
image5.filters.item(0).transition = 14
image5.Style.visibility = ""
image5.filters(0).play(2.0)
image6.filters.item(0).apply()
image6.filters.item(0).transition = 15
image6.Style.visibility = ""
image6.filters(0).play(2.0)
</script>
<br>
<br>
<br>
<br>
<br>
</p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -