❄️ Falling snowflakes
Details
- Only one JavaScript file (8 KB, GZIP)
- CSS Animation
- Rubber design
- Flexible settings
Examples
- Demo
- Simple
- Big
- Increased speed
- Layer
- Own color
- Own kind
- Own z-index
- start() and stop()
- Without wind
Using
npm i magic-snowflakes --save-dev
or
yarn add magic-snowflakes
Without settings
...
or
'use strict'; const Snowflakes = ;;
Advanced settings
Different Builds
In the dist/
directory of the NPM package you will find many different builds of snowflakes.js.
Type | Filename | Description |
---|---|---|
Full (UMD) | snowflakes.js |
|
Full (UMD, production) | snowflakes.min.js |
|
Light (UMD) | snowflakes.light.js |
Without SVG images |
Light (UMD, production) | snowflakes.light.min.js |
Without SVG images |
Development
git clone git@github.com:hcodes/snowflakes.git ./snowflakes
cd ./snowflakes
npm i
npm run build
npm test
open ./dev-examples/
License
MIT License