当前位置:网站首页>three.js打造酷炫下雪效果

three.js打造酷炫下雪效果

2022-07-07 14:02:00 紫微前端

 代码:

<!doctype html>
<html>

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>threejs</title>
    <style>
        body {
            margin: 0;
            overflow: hidden;
            background: #000046;
            /* fallback for old browsers */
            background: -webkit-linear-gradient(to top, #1CB5E0, #000046);
            /* Chrome 10-25, Safari 5.1-6 */
            background: linear-gradient(to top, #1CB5E0, #000046);
            /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
        }
    </style>
</head>

<body id="body">
    <div id="WebGL-output"></
原网站

版权声明
本文为[紫微前端]所创,转载请带上原文链接,感谢
https://liuhao.blog.csdn.net/article/details/125651738

随机推荐