跳转至

给你的站点添加下雪特效

冬季到了,怎么让你的网站下雪呢?

snowflakes.min.js

引入上面的js,并控制颜色数量等等……

Text Only
<script src="/usr/js/snowflakes.min.js"></script>
<script>
    var sf = new Snowflakes({
        color: "#FF1493",
        count: 30,
        rotation: false,
        minSize: 6,
        maxSize: 12
    });
</script>

评论