前端 全屏雪花飘落效果
展示:
代码:
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> <script src="xuehua/snow.js"></script> <style> *{ margin: 0; padding: 0; } body { background-color: black; } </style> </head> <body> <script> createSnow("http://localhost:8080/xuehua/", 60); </script> </body> </html>
博客园作者:herry菌朋友,看到这里,关注作者的公众号吧,不漏掉更新哦
![]()