css动态模糊效果

(编辑:jimmy 日期: 2024/9/21 浏览:2)

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

 

 

 

 

css动态模糊效果

第一步:把下面的脚本插入<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="/UploadFiles/2021-04-02/c.jpg">

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>

一句话新闻
微软与英特尔等合作伙伴联合定义“AI PC”:键盘需配有Copilot物理按键
几个月来,英特尔、微软、AMD和其它厂商都在共同推动“AI PC”的想法,朝着更多的AI功能迈进。在近日,英特尔在台北举行的开发者活动中,也宣布了关于AI PC加速计划、新的PC开发者计划和独立硬件供应商计划。
在此次发布会上,英特尔还发布了全新的全新的酷睿Ultra Meteor Lake NUC开发套件,以及联合微软等合作伙伴联合定义“AI PC”的定义标准。