手机
当前位置:查字典教程网 >网页设计 > Div+Css教程 >css动态模糊效果
css动态模糊效果
摘要:实例效果:请把鼠标放上去看看第一步:把下面的脚本插入与之间:functionon(she){girl=shemove=setInterval...

实例效果:请把鼠标放上去看看

css动态模糊效果1

第一步:把下面的脚本插入<head>与</head>之间:

<script>

function on(she){

girl=she

move=setInterval("moving(girl)",50)}

function off(she){

clearInterval(move)

she.filters.blur.strength=2 }

function moving(s){

if (s.filters.blur.strength<110)

s.filters.blur.strength+=5

else clearInterval(move)}

</script>

第二步:把下面的脚本插入<body>与</body>之间:

<p><a href="../index.htm"><img src="c.jpg" width="200" height="138"

style="position:absolute;top:70;left:390;filter:blur(add=1,direction=80,strength=2)"

onMouseOver="on(this)" onMouseOut="off(this)" width="337" height="87" border="0"></a> </p>

【css动态模糊效果】相关文章:

用CSS实现表格背景颜色渐变效果

CSS常用样式效果

css3教程:弹性盒模型

css基本语法

css3实现闪亮进度条效果

利用CSS3实现毛玻璃效果示例源码

发现两个有趣的CSS3动画效果

表格颜色渐变效果

CSS3动态效果学习笔记

JS控制css float属性的用法

精品推荐
分类导航