Skip to content

Let It Snow... on any page with CSS3 transforms and transitions in modern browsers.

License

Notifications You must be signed in to change notification settings

Cople/Snowfall.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Snowfall.js

Let It Snow... on any page with CSS3 transforms and transitions in modern browsers.

Demo

http://cople.github.io/Snowfall.js/

Usage

var snow = new Snowfall();

or

var snow = new Snowfall({
    type: "image",
    conetnt: ["img/flake1.png", "img/flake2.png"],
    maxSize: 40
});

Functions

snow.config({/* options */});
snow.play();
snow.stop();

Options

var defaultOptions = {
    minSize: 10,
    maxSize: 30,
    type: "text",
    content: "&#10052",
    fadeOut: true,
    autoplay: true,
    interval: 200
};

About

Let It Snow... on any page with CSS3 transforms and transitions in modern browsers.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published