Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

A JavaScript wrapper for PavelTheCoder's CSSnowflakes to activate on demand and control the amount.

License

NotificationsYou must be signed in to change notification settings

robsd/js-snowflakes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A JavaScript wrapper forPavelTheCoder'sCSSnowflakes to activate on demand and control the amount.

How to use

  1. Import thecss/style.css andjs/script.js.

  2. Call thesnowstorm(X); function in your own script or assign it to a button withonclick="snowstorm(X);" replacing X with how many snowflakes you want.

Note: There are 2 styles of snowflake used for each iteration and.

Bonus tip

Combine it with mycountdown script and have it snow (virtually) on the 25th!

See mychristmas countdown oradvent calendar scripts for an example.

Demo

https://robsd.github.io/js-snowflakes

Support my work

If you like this repo or used any of the code, please star ⭐ it and consider supporting me below...

ko-fi

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp