CSS3 加载进度样式

<html>
	<head>
		<style type="text/css">
			body{
				background-color: green;
			}

			.circle{
				margin:0 auto;
				margin-top:150px;
				background-color: gray;
				width: 10em;
				height: 10em;
				border-radius: 50%;
				border: 1.1em solid rgba(255,255,255,0.2);
				border-left-color:#fff;
				-webkit-animation: load 1.1s infinite linear;
			}

			@-webkit-keyframes load{
				from{
					transform:rotate(0deg);
				}
				to{
					transform:rotate(360deg);
				}
			}
		</style>
	</head>
	<body>
		<div class="circle">
		</div>
	</body>
</html>

  

posted on 2015-08-18 23:02  Admin_csq  阅读(164)  评论(0编辑  收藏  举报