关于彩字代码制作!!
编辑:Simone
2025-05-23 09:22:30
572 阅读
css demofunction zap(){//定义产生发光效果的函数
//如果已经在发光状态,则取消发光
if(myimg.filters.glow.enabled==1){
myimg.filters.glow.enabled=0;
}
//如果不发光,则开始发光
if(myimg.filters.blendTrans.status==0){
myimg.filters.blendTrans.apply();
myimg.filters.glow.enabled=1
myimg.filters.blendTrans.play();
}
}
style="filter:glow(color=#ffff00,strength=20,enabled=0)
blendTrans(duration=2);FONT-SIZE:35px;HEIGHT:200px;text-Align:center;">
发光的文字
当鼠标点击文字时,文字会发光,再点击,发光消失。
版权声明:本站【趣百科】文章素材来源于网络或者用户投稿,未经许可不得用于商用,如转载保留本文链接:https://www.qubaik.com/article/227814.html