很有特色的JavaScript文字烟雾动画特效,鼠标悬停的时候触发文字飞走效果。
var txt = document.querySelector(".text");
txt.innerHTML = txt.textContent.replace(/\S/g,"<span>$&</span>");
var arr = document.querySelectorAll("span");
arr.forEach(function(temp){
temp.addEventListener('mouseover',()=>{
temp.classList.add('move');
console.log('666');
})
})JavaScript文字烟雾动画特效
正在加载文件目录...
- 热度 16

OnLai下载了 此素材

OnLai收藏了 此素材

got收藏了 此素材

:)收藏了 此素材

洋下载了 此素材

阿虫收藏了 此素材

I'm so alone下载了 此素材

M下载了 此素材

A.Kai下载了 此素材

CodingBee收藏了 此素材









