Ajax Loader
×

Stars (or snow)

First of all, this animation is not done in Canvas or SVG. It's created purely in CSS3! It also doesn't use any images. The snow flakes are created using this small code block:

b {
    position:absolute;
    height:2px; width:2px;
    background:#FFF;
    box-shadow:0 0 5px #FFF;
}

The animation is done using the animation and the keyframes properties and it is done in such a way so that the looping of the animation is seamless. This will only work in Chrome or Safari.

Related:

×

Coding Preferences


HTML

CSS

Javascript

More

×

Your Default Settings - Preferences

×
×
×

Validations

(Errors from your JS or Pre-Processors code)

    HTML
    CSS
    JavaScript

    Stars (or snow)

    CSSDeck G+