CSS loading 动画案例
效果:
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<style type="text/css">
.loading{
margin: 0 auto;
width: 300px;
height: 300px;
position: relative; /*相对定位*/
}
.loading .circle{
width: 300px;
height: 300px;
position: absolute; /*绝对定位*/
left: 0;
top: 0;
}
/*小球*/
.small{
width: 30px;
height: 30px;
background: deepskyblue;
margin: 10px auto