码迷,mamicode.com
首页 > 其他好文 > 详细

预加载旋转圈

时间:2016-07-30 16:48:22      阅读:130      评论:0      收藏:0      [点我收藏+]

标签:

<head>

<meta charset="UTF-8">

<title></title>

<style type="text/css">

.quan{

position: relative;

border: 4px solid rgba(255,255,255,.25);

width: 80px;

height: 80px;

border-radius: 50%;

-webkit-animation: a 1s infinite linear;

}

span{

position: absolute;

width: 80px;

height: 80px;

border: 4px solid transparent;

border-top: 4px solid #fff;

top: -4px;

left: -4px;

border-radius: 50%;

 

}

@-webkit-keyframes a{

0%{-webkit-transform: rotate(0deg);}

100%{-webkit-transform: rotate(360deg);}

}

</style>

</head>

<body style="background-color: palevioletred;">

<div class="quan">

<span id=""></span>

</div>

</body>

预加载旋转圈

标签:

原文地址:http://www.cnblogs.com/luckyXcc/p/5721089.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!