Create your own space with GreatStars
PREVIEW: here
- You need to include jQuery to use this Framework
- Download or clone the git.
- Import jQuery library
- Insert jQuery snippet to your document
$(document).ready(function() {
$(".stars").greatStars({
number: 100,
speed: 20,
direction: "down",
starClass: "star"
});
});
- Insert HTML snippet like this
<div class="stars"></div>
Note: You can change the class 'stars' to whatever you want
name | value | default | description |
---|---|---|---|
number | 100 |
100 | Set the number of stars wich will generated (not more than 200 recommended) |
speed | 100 |
100 | Moving speed of the Stars |
direction | down |
up | Change the vertical direction between 'down' and 'up' |
starClass | star |
star | Class for the single stars |