css dynamic blur effect_basic tutorial

WBOY
Release: 2016-05-16 12:08:09
Original
2222 people have browsed it
Example effect: Please put the mouse on it to see

css dynamic blur effect_basic tutorial

Step one: Insert the following script between

and :

<script><br>function on(she){<br>girl=she<br>move=setInterval("moving(girl)",50)} </script>

function off(she){
clearInterval(move)
she.filters.blur.strength=2 }

function moving(s){
if (s.filters.blur.strengths.filters.blur.strength =5
else clearInterval(move)}

Step 2: Insert the following script between

and :

css dynamic blur effect_basic tutorial

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">

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!