kinet+tailwind实现萤火虫跟随鼠标悬浮按钮动画效果代码
代码语言:html
所属分类:悬停
代码描述:kinet+tailwind实现萤火虫跟随鼠标悬浮按钮动画效果代码
代码标签: kinet tailwind 萤火虫 跟随 鼠标 悬浮 按钮 动画
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/tailwindcss.3.4.3.js"></script>
<style>
html, body {
background: black;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.circle {
width: 8px;
height: 8px;
border-radius: 50%;
position: absolute;
top: 50%;
left: 50%;
margin: -4px 0 0 -4px;
pointer-events: none;
mix-blend-mode: screen;
.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0