展示:
代码:
<!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>