quick-snow

1.0.0 • Public • Published

quick-snow NPM package

(C) 2022 by Daniel Brendel

Released under the MIT license

About

quick-snow lets you quickly add a snowfall animation to your website. This way you can give your website a winter themed effect.

Usage

import 'quick-snow';

let snow = new QuickSnow('selector', {
	//Default values
	count: 100, //Amount of snowflakes
	speed: 1.0, //Factor of speed
	color: 'rgb(255, 255, 255)', //CSS color expression or 'random' for random color
	before: true //True to insert as first element or false to append as last element
});

snow.start(); //Start effect
snow.stop(); //Stop effect

Install

npm i quick-snow

DownloadsWeekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

5.13 kB

Total Files

5

Last publish

Collaborators

  • danielbrendel