Skip to content

About

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

Resources

Stars

18 stars

Watchers

2 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

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

Stars

18 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages