效果示例:

FuyunAPI - 鼠标点击爆炸特效

代码:

<!–鼠标点击爆炸特效–>

<script type=”text/javascript” src=”https://api.ooomx.com/api/js/shubiao/meme.js”></script>

<canvas class=”fireworks” style=”position:fixed;left:0;top:0;z-index:99999999;pointer-events:none;”></canvas>

<script type=”text/javascript” src=”https://api.ooomx.com/api/js/shubiao/anime.min.js”></script>

<script type=”text/javascript” src=”https://api.ooomx.com/api/js/shubiao/fireworks.js”></script>

<!–鼠标点击爆炸结束–>

安装方式:

安装在网站头部文件header.html,单页安装在</head>以上。