forked from tobiasahlin/SpinKit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
9-wordpress.html
42 lines (40 loc) · 963 Bytes
/
9-wordpress.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<html>
<head>
<title>Circle</title>
<style>
.spinner {
background: #333;
width: 30px;
height: 30px;
display: inline-block;
border-radius: 30px;
position: relative;
-webkit-animation: inner-circle 1s linear infinite;
animation: inner-circle 1s linear infinite;
}
.inner-circle {
display: block;
background: #fff;
width: 8px;
height: 8px;
position: absolute;
border-radius: 8px;
top: 5px;
left: 5px;
}
@-webkit-keyframes inner-circle {
0% { -webkit-transform: rotate(0); }
100% { -webkit-transform: rotate(360deg); }
}
@keyframes inner-circle {
0% { transform: rotate(0); -webkit-transform:rotate(0); }
100% { transform: rotate(360deg); -webkit-transform:rotate(360deg); }
}
</style>
</head>
<body>
<div class="spinner">
<span class="inner-circle"></span>
</div>
</body>
</html>