$('#loader').shCircleLoader();
$('#loader').shCircleLoader({clockwise: false});
$('#loader').shCircleLoader({color: "red"});
$('#loader').shCircleLoader({duration: 2});
$('#loader').shCircleLoader({ dots: 24, dotsRadius: 10 });
$('#loader').shCircleLoader({ keyframes: "0% {background:black}\ 40% {background:transparent}\ 60% {background:transparent}\ 100% {background:black}" });
$('#loader').shCircleLoader({ namespace: "myns", color: "transparent", dotsRadius: 15 });
.myns > div { box-shadow: 0 0 6px black, inset 0 0 6px black; }
$('#loader').shCircleLoader({ color: "red", dots: 24, dotsRadius: 13, keyframes: "0% {background: red; {prefix}transform: scale(1)}\ 20% {background: orange; {prefix}transform: scale(.4)}\ 40% {background: red; {prefix}transform: scale(0)}\ 50% {background: red; {prefix}transform: scale(1)}\ 70% {background: orange; {prefix}transform: scale(.4)}\ 90% {background: red; {prefix}transform: scale(0)}\ 100% {background: red; {prefix}transform: scale(1)}" });
$('#loader').shCircleLoader(); var i = 0; setInterval(function() { $('#loader').shCircleLoader('progress', i + '%'); if (++i > 100) i = 0; }, 100);
适用浏览器:IE8、360、FireFox、Chrome、Safari、Opera、傲游、搜狗、世界之窗.
来源:站长素材