定制 webcito/jquery-let-it-snow 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

webcito/jquery-let-it-snow

最新稳定版本:1.0.2

Composer 安装命令:

composer require webcito/jquery-let-it-snow

包简介

A small jQuery plugin to show your website with snowfall.

README 文档

README

A small jQuery plugin to show your website with snowfall.
This plugin was created on the idea of Tracy Good (Source).

The number of flakes is determined by the window width. If the window is resized, the flakes are recalculated.

let it snow picture

options

let options = {
    background: null, // The background of the container. This property is set as css background.
    quantity: "smooth", // How many flakes should be produced? Possible values: smooth, less, medium or much
    flake: {
        html: "•", // Snow Entity
        minSize: 2, // Minimum Flake Size
        maxSize: 19, // Maximum Flake Size
    },
    colors: ["lightblue", "skyblue", "#DDDDDD", "#EEEEEE"], // Snowflake Colours
    speed: 0.75, // The speed of the falling flakes
    refresh: 50 // The time in milliseconds how the token should be calculated
}

example

$('body').letItSnow({
    background: "fixed no-repeat center bottom url('demo/img/winter-landscape.png')",
    quantity: 'slowly',
    flake: {
        html: '<i class="bi bi-snow3"></i>'
    }
});

统计信息

  • 总下载量: 168
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: proprietary
  • 更新时间: 2023-12-19