-
Notifications
You must be signed in to change notification settings - Fork 285
/
spinners.html
237 lines (214 loc) · 9.72 KB
/
spinners.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title> - 加载动画</title>
<meta name="keywords" content="">
<meta name="description" content="">
<link rel="shortcut icon" href="favicon.ico"> <link href="css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
<link href="css/font-awesome.css?v=4.4.0" rel="stylesheet">
<link href="css/animate.css" rel="stylesheet">
<link href="css/style.css?v=4.1.0" rel="stylesheet">
</head>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
<div class="row">
<div class="col-sm-12">
<div class="ibox ">
<div class="ibox-title">
<h5>利用css3实现的加载旋转动画</h5>
</div>
<div class="ibox-content">
<p>
spinkit使用CSS3的特性实现多种动画效果,元素移动、放大缩小、翻转、进度条加载效果等等,使用了很多CSS3新的特性。
</p>
<p>隐藏动画可以设置<code>opacity: 0</code>或<code>visibility: hidden</code>,此时动画仍在继续, 建议将其从DOM中删除,设置<code>display: none</code>或者<code>animation-play-state: paused</code>。</p>
</div>
</div>
</div>
<div class="col-sm-3">
<div class="ibox ">
<div class="ibox-title">
<h5>动画:Rotating plane</h5>
</div>
<div class="ibox-content">
<div class="spiner-example">
<div class="sk-spinner sk-spinner-rotating-plane"></div>
</div>
</div>
</div>
</div>
<div class="col-sm-3">
<div class="ibox ">
<div class="ibox-title">
<h5>动画:Double bounce</h5>
</div>
<div class="ibox-content">
<div class="spiner-example">
<div class="sk-spinner sk-spinner-double-bounce">
<div class="sk-double-bounce1"></div>
<div class="sk-double-bounce2"></div>
</div>
</div>
</div>
</div>
</div>
<div class="col-sm-3">
<div class="ibox ">
<div class="ibox-title">
<h5>动画:Wave</h5>
</div>
<div class="ibox-content">
<div class="spiner-example">
<div class="sk-spinner sk-spinner-wave">
<div class="sk-rect1"></div>
<div class="sk-rect2"></div>
<div class="sk-rect3"></div>
<div class="sk-rect4"></div>
<div class="sk-rect5"></div>
</div>
</div>
</div>
</div>
</div>
<div class="col-sm-3">
<div class="ibox ">
<div class="ibox-title">
<h5>动画:Wandering cubes</h5>
</div>
<div class="ibox-content">
<div class="spiner-example">
<div class="sk-spinner sk-spinner-wandering-cubes">
<div class="sk-cube1"></div>
<div class="sk-cube2"></div>
</div>
</div>
</div>
</div>
</div>
<div class="col-sm-3">
<div class="ibox ">
<div class="ibox-title">
<h5>动画:Pulse</h5>
</div>
<div class="ibox-content">
<div class="spiner-example">
<div class="sk-spinner sk-spinner-pulse"></div>
</div>
</div>
</div>
</div>
<div class="col-sm-3">
<div class="ibox ">
<div class="ibox-title">
<h5>动画:Chasing dots</h5>
</div>
<div class="ibox-content">
<div class="spiner-example">
<div class="sk-spinner sk-spinner-chasing-dots">
<div class="sk-dot1"></div>
<div class="sk-dot2"></div>
</div>
</div>
</div>
</div>
</div>
<div class="col-sm-3">
<div class="ibox ">
<div class="ibox-title">
<h5>动画:Three bounce</h5>
</div>
<div class="ibox-content">
<div class="spiner-example">
<div class="sk-spinner sk-spinner-three-bounce">
<div class="sk-bounce1"></div>
<div class="sk-bounce2"></div>
<div class="sk-bounce3"></div>
</div>
</div>
</div>
</div>
</div>
<div class="col-sm-3">
<div class="ibox ">
<div class="ibox-title">
<h5>动画:Circle</h5>
</div>
<div class="ibox-content">
<div class="spiner-example">
<div class="sk-spinner sk-spinner-circle">
<div class="sk-circle1 sk-circle"></div>
<div class="sk-circle2 sk-circle"></div>
<div class="sk-circle3 sk-circle"></div>
<div class="sk-circle4 sk-circle"></div>
<div class="sk-circle5 sk-circle"></div>
<div class="sk-circle6 sk-circle"></div>
<div class="sk-circle7 sk-circle"></div>
<div class="sk-circle8 sk-circle"></div>
<div class="sk-circle9 sk-circle"></div>
<div class="sk-circle10 sk-circle"></div>
<div class="sk-circle11 sk-circle"></div>
<div class="sk-circle12 sk-circle"></div>
</div>
</div>
</div>
</div>
</div>
<div class="col-sm-3">
<div class="ibox ">
<div class="ibox-title">
<h5>动画:Cube grid</h5>
</div>
<div class="ibox-content">
<div class="spiner-example">
<div class="sk-spinner sk-spinner-cube-grid">
<div class="sk-cube"></div>
<div class="sk-cube"></div>
<div class="sk-cube"></div>
<div class="sk-cube"></div>
<div class="sk-cube"></div>
<div class="sk-cube"></div>
<div class="sk-cube"></div>
<div class="sk-cube"></div>
<div class="sk-cube"></div>
</div>
</div>
</div>
</div>
</div>
<div class="col-sm-3">
<div class="ibox ">
<div class="ibox-title">
<h5>动画:Fading circle</h5>
</div>
<div class="ibox-content">
<div class="spiner-example">
<div class="sk-spinner sk-spinner-fading-circle">
<div class="sk-circle1 sk-circle"></div>
<div class="sk-circle2 sk-circle"></div>
<div class="sk-circle3 sk-circle"></div>
<div class="sk-circle4 sk-circle"></div>
<div class="sk-circle5 sk-circle"></div>
<div class="sk-circle6 sk-circle"></div>
<div class="sk-circle7 sk-circle"></div>
<div class="sk-circle8 sk-circle"></div>
<div class="sk-circle9 sk-circle"></div>
<div class="sk-circle10 sk-circle"></div>
<div class="sk-circle11 sk-circle"></div>
<div class="sk-circle12 sk-circle"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- 全局js -->
<script src="js/jquery.min.js?v=2.1.4"></script>
<script src="js/bootstrap.min.js?v=3.3.6"></script>
<!-- 自定义js -->
<script src="js/content.js?v=1.0.0"></script>
</body>
</html>