标签:style blog class color c width
效果如下
实现原理:
代码说明:
<style>
@-webkit-keyframes rotate {
100% {
-webkit-transform: rotate(-360deg);
}
}
@keyframes rotate {
100% {
transform: rotate(-360deg);
}
}
.border{
position: absolute;
top: 10px;
left: 10px;
width: 300px;
height: 300px;
border: 1px solid #ccc;
}
.border div {
position: absolute;
top: 50%;
left: 50%;
width: 10px;
height: 10px;
border-radius: 50%;
box-shadow: 0px 30px #FF0000;
-webkit-animation: rotate 8s infinite linear ;
animation: rotate 8s infinite linear ;
}
</style>
<div class="border">
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div> </div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
CSS3+HTML5特效7 - 特殊的 Loading 效果,布布扣,bubuko.com
CSS3+HTML5特效7 - 特殊的 Loading 效果
标签:style blog class color c width
原文地址:http://www.cnblogs.com/z-gia/p/3708968.html