Skip to content

jmgomezpoveda/css-blinking-stars

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

css-blinking-stars

Some blinking stars in CSS3 gradients and animations, with a fallback option.

Created by Jose Manuel Gómez Poveda for the Night Earth website.

To add stars to your website, just add the following lines to the head section:

<script src="blinkingstars.js"></script>
<link rel="stylesheet" type="text/css" href="blinkingstars.css">

And the following line at the beginning of the body section:

<div id="blinkingstars"></div>

You must include the following files in your project (or embed their content):

  • blinkingstars.css
  • blinkingstars.js

Optionally, if you want static stars in addition to the blinking ones, include the file "stars.png" as well, and use the "staticstars" ID in the div:

<div class="staticstars" id="blinkingstars"></div>

If you found this useful, please provide the corresponding attribution and/or link to this repository.

About

Some blinking stars in CSS3 with fallback option

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published