$(".demo1").sparkle({
color: "#FFFFFF",
count: 30,
overlap: 0,
speed: 1,
minSize: 4,
maxSize: 7,
direction: "both"
});						
			
			
			
$(".demo2").sparkle({
color: "rainbow",
count: 50,
overlap: 0,
speed: 1.5,
minSize: 5,
maxSize: 10,
direction: "both"
});						
			
			
			
$(".demo3").sparkle({
color: "rainbow",
count: 100,
overlap: 0,
speed: 2,
minSize: 5,
maxSize: 15,
direction: "both"
});						
			
			

适用浏览器:360、FireFox、Chrome、Opera、傲游、搜狗、世界之窗. 不支持Safari、IE8及以下浏览器。

来源:站长素材