这篇文章主要介绍了10种CSS3实现的loading动画,帮助大家更好的美化自身网页,完成需求,感兴趣的朋友可以了解下。

HTML:

  1. 1 <body>
  2. 2 <div class="content">
  3. 3 <h3>CSS3 Loading animations</h3>
  4. 4 <div class="load-wrapp">
  5. 5 <div class="load-1">
  6. 6 <p>Loading 1</p>
  7. 7 <div class="line"></div>
  8. 8 <div class="line"></div>
  9. 9 <div class="line"></div>
  10. 10 </div>
  11. 11 </div>
  12. 12 <div class="load-wrapp">
  13. 13 <div class="load-2">
  14. 14 <p>Loading 2</p>
  15. 15 <div class="line"></div>
  16. 16 <div class="line"></div>
  17. 17 <div class="line"></div>
  18. 18 </div>
  19. 19 </div>
  20. 20 <div class="load-wrapp">
  21. 21 <div class="load-3">
  22. 22 <p>Loading 3</p>
  23. 23 <div class="line"></div>
  24. 24 <div class="line"></div>
  25. 25 <div class="line"></div>
  26. 26 </div>
  27. 27 </div>
  28. 28 <div class="load-wrapp">
  29. 29 <!-- Loading 4 don't work on firefox because of the border-radius and the "dashed" style. -->
  30. 30 <div class="load-4">
  31. 31 <p>Loading 4</p>
  32. 32 <div class="ring-1"></div>
  33. 33 </div>
  34. 34 </div>
  35. 35 <div class="load-wrapp">
  36. 36 <div class="load-5">
  37. 37 <p>Loading 5</p>
  38. 38 <div class="ring-2">
  39. 39 <div class="ball-holder">
  40. 40 <div class="ball"></div>
  41. 41 </div>
  42. 42 </div>
  43. 43 </div>
  44. 44 </div>
  45. 45 <div class="load-wrapp">
  46. 46 <div class="load-6">
  47. 47 <p>Loading 6</p>
  48. 48 <div class="letter-holder">
  49. 49 <div class="l-1 letter">L</div>
  50. 50 <div class="l-2 letter">o</div>
  51. 51 <div class="l-3 letter">a</div>
  52. 52 <div class="l-4 letter">d</div>
  53. 53 <div class="l-5 letter">i</div>
  54. 54 <div class="l-6 letter">n</div>
  55. 55 <div class="l-7 letter">g</div>
  56. 56 <div class="l-8 letter">.</div>
  57. 57 <div class="l-9 letter">.</div>
  58. 58 <div class="l-10 letter">.</div>
  59. 59 </div>
  60. 60 </div>
  61. 61 </div>
  62. 62 <div class="load-wrapp">
  63. 63 <div class="load-7">
  64. 64 <p>Loading 7</p>
  65. 65 <div class="square-holder">
  66. 66 <div class="square"></div>
  67. 67 </div>
  68. 68 </div>
  69. 69 </div>
  70. 70 <div class="load-wrapp">
  71. 71 <div class="load-8">
  72. 72 <p>Loading 8</p>
  73. 73 <div class="line"></div>
  74. 74 </div>
  75. 75 </div>
  76. 76 <div class="load-wrapp">
  77. 77 <div class="load-9">
  78. 78 <p>Loading 9</p>
  79. 79 <div class="spinner">
  80. 80 <div class="bubble-1"></div>
  81. 81 <div class="bubble-2"></div>
  82. 82 </div>
  83. 83 </div>
  84. 84 </div>
  85. 85 <div class="load-wrapp">
  86. 86 <div class="load-10">
  87. 87 <p>Loading 10</p>
  88. 88 <div class="bar"></div>
  89. 89 </div>
  90. 90 </div>
  91. 91 </div>
  92. 92 <div class="clear"></div>
  93. 93 </body>

CSS3:

  1. 1 /* -----------------------------------------
  2. 2 =Default css to make the demo more pretty
  3. 3 -------------------------------------------- */
  4. 4
  5. 5 body {
  6. 6 margin: 0 auto;
  7. 7 padding: 20px;
  8. 8 max-width: 1200px;
  9. 9 overflow-y: scroll;
  10. 10 font-family: "Open Sans", sans-serif;
  11. 11 font-weight: 400;
  12. 12 color: #777;
  13. 13 background-color: #f7f7f7;
  14. 14 -webkit-font-smoothing: antialiased;
  15. 15 -webkit-text-size-adjust: 100%;
  16. 16 -ms-text-size-adjust: 100%;
  17. 17 }
  18. 18
  19. 19 .content {
  20. 20 padding: 15px;
  21. 21 overflow: hidden;
  22. 22 background-color: #e7e7e7;
  23. 23 background-color: rgba(0, 0, 0, 0.06);
  24. 24 }
  25. 25
  26. 26 h1 {
  27. 27 padding-bottom: 15px;
  28. 28 border-bottom: 1px solid #d8d8d8;
  29. 29 font-weight: 600;
  30. 30 }
  31. 31
  32. 32 h1 span {
  33. 33 font-family: monospace, serif;
  34. 34 }
  35. 35
  36. 36 h3 {
  37. 37 padding-bottom: 20px;
  38. 38 box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1), 0 2px 0 rgba(255, 255, 255, 0.9);
  39. 39 }
  40. 40
  41. 41 p {
  42. 42 margin: 0;
  43. 43 padding: 10px 0;
  44. 44 color: #777;
  45. 45 }
  46. 46
  47. 47 .clear {
  48. 48 clear: both;
  49. 49 }
  50. 50
  51. 51 /* -----------------------------------------
  52. 52 =CSS3 Loading animations
  53. 53 -------------------------------------------- */
  54. 54
  55. 55 /* =Elements style
  56. 56 ---------------------- */
  57. 57 .load-wrapp {
  58. 58 float: left;
  59. 59 width: 100px;
  60. 60 height: 100px;
  61. 61 margin: 0 10px 10px 0;
  62. 62 padding: 20px 20px 20px;
  63. 63 border-radius: 5px;
  64. 64 text-align: center;
  65. 65 background-color: #d8d8d8;
  66. 66 }
  67. 67
  68. 68 .load-wrapp p {
  69. 69 padding: 0 0 20px;
  70. 70 }
  71. 71 .load-wrapp:last-child {
  72. 72 margin-right: 0;
  73. 73 }
  74. 74
  75. 75 .line {
  76. 76 display: inline-block;
  77. 77 width: 15px;
  78. 78 height: 15px;
  79. 79 border-radius: 15px;
  80. 80 background-color: #4b9cdb;
  81. 81 }
  82. 82
  83. 83 .ring-1 {
  84. 84 width: 10px;
  85. 85 height: 10px;
  86. 86 margin: 0 auto;
  87. 87 padding: 10px;
  88. 88 border: 7px dashed #4b9cdb;
  89. 89 border-radius: 100%;
  90. 90 }
  91. 91
  92. 92 .ring-2 {
  93. 93 position: relative;
  94. 94 width: 45px;
  95. 95 height: 45px;
  96. 96 margin: 0 auto;
  97. 97 border: 4px solid #4b9cdb;
  98. 98 border-radius: 100%;
  99. 99 }
  100. 100
  101. 101 .ball-holder {
  102. 102 position: absolute;
  103. 103 width: 12px;
  104. 104 height: 45px;
  105. 105 left: 17px;
  106. 106 top: 0px;
  107. 107 }
  108. 108
  109. 109 .ball {
  110. 110 position: absolute;
  111. 111 top: -11px;
  112. 112 left: 0;
  113. 113 width: 16px;
  114. 114 height: 16px;
  115. 115 border-radius: 100%;
  116. 116 background: #4282b3;
  117. 117 }
  118. 118
  119. 119 .letter-holder {
  120. 120 padding: 16px;
  121. 121 }
  122. 122
  123. 123 .letter {
  124. 124 float: left;
  125. 125 font-size: 14px;
  126. 126 color: #777;
  127. 127 }
  128. 128
  129. 129 .square {
  130. 130 width: 12px;
  131. 131 height: 12px;
  132. 132 border-radius: 4px;
  133. 133 background-color: #4b9cdb;
  134. 134 }
  135. 135
  136. 136 .spinner {
  137. 137 position: relative;
  138. 138 width: 45px;
  139. 139 height: 45px;
  140. 140 margin: 0 auto;
  141. 141 }
  142. 142
  143. 143 .bubble-1,
  144. 144 .bubble-2 {
  145. 145 position: absolute;
  146. 146 top: 0;
  147. 147 width: 25px;
  148. 148 height: 25px;
  149. 149 border-radius: 100%;
  150. 150 background-color: #4b9cdb;
  151. 151 }
  152. 152
  153. 153 .bubble-2 {
  154. 154 top: auto;
  155. 155 bottom: 0;
  156. 156 }
  157. 157
  158. 158 .bar {
  159. 159 float: left;
  160. 160 width: 15px;
  161. 161 height: 6px;
  162. 162 border-radius: 2px;
  163. 163 background-color: #4b9cdb;
  164. 164 }
  165. 165
  166. 166 /* =Animate the stuff
  167. 167 ------------------------ */
  168. 168 .load-1 .line:nth-last-child(1) {
  169. 169 animation: loadingA 1.5s 1s infinite;
  170. 170 }
  171. 171 .load-1 .line:nth-last-child(2) {
  172. 172 animation: loadingA 1.5s 0.5s infinite;
  173. 173 }
  174. 174 .load-1 .line:nth-last-child(3) {
  175. 175 animation: loadingA 1.5s 0s infinite;
  176. 176 }
  177. 177
  178. 178 .load-2 .line:nth-last-child(1) {
  179. 179 animation: loadingB 1.5s 1s infinite;
  180. 180 }
  181. 181 .load-2 .line:nth-last-child(2) {
  182. 182 animation: loadingB 1.5s 0.5s infinite;
  183. 183 }
  184. 184 .load-2 .line:nth-last-child(3) {
  185. 185 animation: loadingB 1.5s 0s infinite;
  186. 186 }
  187. 187
  188. 188 .load-3 .line:nth-last-child(1) {
  189. 189 animation: loadingC 0.6s 0.1s linear infinite;
  190. 190 }
  191. 191 .load-3 .line:nth-last-child(2) {
  192. 192 animation: loadingC 0.6s 0.2s linear infinite;
  193. 193 }
  194. 194 .load-3 .line:nth-last-child(3) {
  195. 195 animation: loadingC 0.6s 0.3s linear infinite;
  196. 196 }
  197. 197
  198. 198 .load-4 .ring-1 {
  199. 199 animation: loadingD 1.5s 0.3s cubic-bezier(0.17, 0.37, 0.43, 0.67) infinite;
  200. 200 }
  201. 201
  202. 202 .load-5 .ball-holder {
  203. 203 animation: loadingE 1.3s linear infinite;
  204. 204 }
  205. 205
  206. 206 .load-6 .letter {
  207. 207 animation-name: loadingF;
  208. 208 animation-duration: 1.6s;
  209. 209 animation-iteration-count: infinite;
  210. 210 animation-direction: linear;
  211. 211 }
  212. 212
  213. 213 .l-1 {
  214. 214 animation-delay: 0.48s;
  215. 215 }
  216. 216 .l-2 {
  217. 217 animation-delay: 0.6s;
  218. 218 }
  219. 219 .l-3 {
  220. 220 animation-delay: 0.72s;
  221. 221 }
  222. 222 .l-4 {
  223. 223 animation-delay: 0.84s;
  224. 224 }
  225. 225 .l-5 {
  226. 226 animation-delay: 0.96s;
  227. 227 }
  228. 228 .l-6 {
  229. 229 animation-delay: 1.08s;
  230. 230 }
  231. 231 .l-7 {
  232. 232 animation-delay: 1.2s;
  233. 233 }
  234. 234 .l-8 {
  235. 235 animation-delay: 1.32s;
  236. 236 }
  237. 237 .l-9 {
  238. 238 animation-delay: 1.44s;
  239. 239 }
  240. 240 .l-10 {
  241. 241 animation-delay: 1.56s;
  242. 242 }
  243. 243
  244. 244 .load-7 .square {
  245. 245 animation: loadingG 1.5s cubic-bezier(0.17, 0.37, 0.43, 0.67) infinite;
  246. 246 }
  247. 247
  248. 248 .load-8 .line {
  249. 249 animation: loadingH 1.5s cubic-bezier(0.17, 0.37, 0.43, 0.67) infinite;
  250. 250 }
  251. 251
  252. 252 .load-9 .spinner {
  253. 253 animation: loadingI 2s linear infinite;
  254. 254 }
  255. 255 .load-9 .bubble-1,
  256. 256 .load-9 .bubble-2 {
  257. 257 animation: bounce 2s ease-in-out infinite;
  258. 258 }
  259. 259 .load-9 .bubble-2 {
  260. 260 animation-delay: -1s;
  261. 261 }
  262. 262
  263. 263 .load-10 .bar {
  264. 264 animation: loadingJ 2s cubic-bezier(0.17, 0.37, 0.43, 0.67) infinite;
  265. 265 }
  266. 266
  267. 267 @keyframes loadingA {
  268. 268 0 {
  269. 269 height: 15px;
  270. 270 }
  271. 271 50% {
  272. 272 height: 35px;
  273. 273 }
  274. 274 100% {
  275. 275 height: 15px;
  276. 276 }
  277. 277 }
  278. 278
  279. 279 @keyframes loadingB {
  280. 280 0 {
  281. 281 width: 15px;
  282. 282 }
  283. 283 50% {
  284. 284 width: 35px;
  285. 285 }
  286. 286 100% {
  287. 287 width: 15px;
  288. 288 }
  289. 289 }
  290. 290
  291. 291 @keyframes loadingC {
  292. 292 0 {
  293. 293 transform: translate(0, 0);
  294. 294 }
  295. 295 50% {
  296. 296 transform: translate(0, 15px);
  297. 297 }
  298. 298 100% {
  299. 299 transform: translate(0, 0);
  300. 300 }
  301. 301 }
  302. 302
  303. 303 @keyframes loadingD {
  304. 304 0 {
  305. 305 transform: rotate(0deg);
  306. 306 }
  307. 307 50% {
  308. 308 transform: rotate(180deg);
  309. 309 }
  310. 310 100% {
  311. 311 transform: rotate(360deg);
  312. 312 }
  313. 313 }
  314. 314
  315. 315 @keyframes loadingE {
  316. 316 0 {
  317. 317 transform: rotate(0deg);
  318. 318 }
  319. 319 100% {
  320. 320 transform: rotate(360deg);
  321. 321 }
  322. 322 }
  323. 323
  324. 324 @keyframes loadingF {
  325. 325 0% {
  326. 326 opacity: 0;
  327. 327 }
  328. 328 100% {
  329. 329 opacity: 1;
  330. 330 }
  331. 331 }
  332. 332
  333. 333 @keyframes loadingG {
  334. 334 0% {
  335. 335 transform: translate(0, 0) rotate(0deg);
  336. 336 }
  337. 337 50% {
  338. 338 transform: translate(70px, 0) rotate(360deg);
  339. 339 }
  340. 340 100% {
  341. 341 transform: translate(0, 0) rotate(0deg);
  342. 342 }
  343. 343 }
  344. 344
  345. 345 @keyframes loadingH {
  346. 346 0% {
  347. 347 width: 15px;
  348. 348 }
  349. 349 50% {
  350. 350 width: 35px;
  351. 351 padding: 4px;
  352. 352 }
  353. 353 100% {
  354. 354 width: 15px;
  355. 355 }
  356. 356 }
  357. 357
  358. 358 @keyframes loadingI {
  359. 359 100% {
  360. 360 transform: rotate(360deg);
  361. 361 }
  362. 362 }
  363. 363
  364. 364 @keyframes bounce {
  365. 365 0%,
  366. 366 100% {
  367. 367 transform: scale(0);
  368. 368 }
  369. 369 50% {
  370. 370 transform: scale(1);
  371. 371 }
  372. 372 }
  373. 373
  374. 374 @keyframes loadingJ {
  375. 375 0%,
  376. 376 100% {
  377. 377 transform: translate(0, 0);
  378. 378 }
  379. 379
  380. 380 50% {
  381. 381 transform: translate(80px, 0);
  382. 382 background-color: #f5634a;
  383. 383 width: 25px;
  384. 384 }
  385. 385 }

/* -----------------------------------------  =Default css to make the demo more pretty-------------------------------------------- */
body {  margin: 0 auto;  padding: 20px;  max-width: 1200px;  overflow-y: scroll;  font-family: "Open Sans", sans-serif;  font-weight: 400;  color: #777;  background-color: #f7f7f7;  -webkit-font-smoothing: antialiased;  -webkit-text-size-adjust: 100%;  -ms-text-size-adjust: 100%;}
.content {  padding: 15px;  overflow: hidden;  background-color: #e7e7e7;  background-color: rgba(0, 0, 0, 0.06);}
h1 {  padding-bottom: 15px;  border-bottom: 1px solid #d8d8d8;  font-weight: 600;}
h1 span {  font-family: monospace, serif;}
h3 {  padding-bottom: 20px;  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1), 0 2px 0 rgba(255, 255, 255, 0.9);}
p {  margin: 0;  padding: 10px 0;  color: #777;}
.clear {  clear: both;}
/* -----------------------------------------  =CSS3 Loading animations-------------------------------------------- */
/* =Elements style---------------------- */.load-wrapp {  float: left;  width: 100px;  height: 100px;  margin: 0 10px 10px 0;  padding: 20px 20px 20px;  border-radius: 5px;  text-align: center;  background-color: #d8d8d8;}
.load-wrapp p {  padding: 0 0 20px;}.load-wrapp:last-child {  margin-right: 0;}
.line {  display: inline-block;  width: 15px;  height: 15px;  border-radius: 15px;  background-color: #4b9cdb;}
.ring-1 {  width: 10px;  height: 10px;  margin: 0 auto;  padding: 10px;  border: 7px dashed #4b9cdb;  border-radius: 100%;}
.ring-2 {  position: relative;  width: 45px;  height: 45px;  margin: 0 auto;  border: 4px solid #4b9cdb;  border-radius: 100%;}
.ball-holder {  position: absolute;  width: 12px;  height: 45px;  left: 17px;  top: 0px;}
.ball {  position: absolute;  top: -11px;  left: 0;  width: 16px;  height: 16px;  border-radius: 100%;  background: #4282b3;}
.letter-holder {  padding: 16px;}
.letter {  float: left;  font-size: 14px;  color: #777;}
.square {  width: 12px;  height: 12px;  border-radius: 4px;  background-color: #4b9cdb;}
.spinner {  position: relative;  width: 45px;  height: 45px;  margin: 0 auto;}
.bubble-1,.bubble-2 {  position: absolute;  top: 0;  width: 25px;  height: 25px;  border-radius: 100%;  background-color: #4b9cdb;}
.bubble-2 {  top: auto;  bottom: 0;}
.bar {  float: left;  width: 15px;  height: 6px;  border-radius: 2px;  background-color: #4b9cdb;}
/* =Animate the stuff------------------------ */.load-1 .line:nth-last-child(1) {  animation: loadingA 1.5s 1s infinite;}.load-1 .line:nth-last-child(2) {  animation: loadingA 1.5s 0.5s infinite;}.load-1 .line:nth-last-child(3) {  animation: loadingA 1.5s 0s infinite;}
.load-2 .line:nth-last-child(1) {  animation: loadingB 1.5s 1s infinite;}.load-2 .line:nth-last-child(2) {  animation: loadingB 1.5s 0.5s infinite;}.load-2 .line:nth-last-child(3) {  animation: loadingB 1.5s 0s infinite;}
.load-3 .line:nth-last-child(1) {  animation: loadingC 0.6s 0.1s linear infinite;}.load-3 .line:nth-last-child(2) {  animation: loadingC 0.6s 0.2s linear infinite;}.load-3 .line:nth-last-child(3) {  animation: loadingC 0.6s 0.3s linear infinite;}
.load-4 .ring-1 {  animation: loadingD 1.5s 0.3s cubic-bezier(0.17, 0.37, 0.43, 0.67) infinite;}
.load-5 .ball-holder {  animation: loadingE 1.3s linear infinite;}
.load-6 .letter {  animation-name: loadingF;  animation-duration: 1.6s;  animation-iteration-count: infinite;  animation-direction: linear;}
.l-1 {  animation-delay: 0.48s;}.l-2 {  animation-delay: 0.6s;}.l-3 {  animation-delay: 0.72s;}.l-4 {  animation-delay: 0.84s;}.l-5 {  animation-delay: 0.96s;}.l-6 {  animation-delay: 1.08s;}.l-7 {  animation-delay: 1.2s;}.l-8 {  animation-delay: 1.32s;}.l-9 {  animation-delay: 1.44s;}.l-10 {  animation-delay: 1.56s;}
.load-7 .square {  animation: loadingG 1.5s cubic-bezier(0.17, 0.37, 0.43, 0.67) infinite;}
.load-8 .line {  animation: loadingH 1.5s cubic-bezier(0.17, 0.37, 0.43, 0.67) infinite;}
.load-9 .spinner {  animation: loadingI 2s linear infinite;}.load-9 .bubble-1,.load-9 .bubble-2 {  animation: bounce 2s ease-in-out infinite;}.load-9 .bubble-2 {  animation-delay: -1s;}
.load-10 .bar {  animation: loadingJ 2s cubic-bezier(0.17, 0.37, 0.43, 0.67) infinite;}
@keyframes loadingA {  0 {    height: 15px;  }  50% {    height: 35px;  }  100% {    height: 15px;  }}
@keyframes loadingB {  0 {    width: 15px;  }  50% {    width: 35px;  }  100% {    width: 15px;  }}
@keyframes loadingC {  0 {    transform: translate(0, 0);  }  50% {    transform: translate(0, 15px);  }  100% {    transform: translate(0, 0);  }}
@keyframes loadingD {  0 {    transform: rotate(0deg);  }  50% {    transform: rotate(180deg);  }  100% {    transform: rotate(360deg);  }}
@keyframes loadingE {  0 {    transform: rotate(0deg);  }  100% {    transform: rotate(360deg);  }}
@keyframes loadingF {  0% {    opacity: 0;  }  100% {    opacity: 1;  }}
@keyframes loadingG {  0% {    transform: translate(0, 0) rotate(0deg);  }  50% {    transform: translate(70px, 0) rotate(360deg);  }  100% {    transform: translate(0, 0) rotate(0deg);  }}
@keyframes loadingH {  0% {    width: 15px;  }  50% {    width: 35px;    padding: 4px;  }  100% {    width: 15px;  }}
@keyframes loadingI {  100% {    transform: rotate(360deg);  }}
@keyframes bounce {  0%,  100% {    transform: scale(0);  }  50% {    transform: scale(1);  }}
@keyframes loadingJ {  0%,  100% {    transform: translate(0, 0);  }
  50% {    transform: translate(80px, 0);    background-color: #f5634a;    width: 25px;  }}

10种CSS3实现的loading动画,挑一个走吧?的更多相关文章

  1. 10种CSS3实现的Loading效果

    原文链接:http://www.cnblogs.com/jr1993/p/4622039.html 第一种效果: 代码如下: <div class="loading"> ...

  2. 10款CSS3进度条Loading动画

    在线演示 本地下载

  3. 【常见】CSS3进度条Loading动画

    现在,GIF 格式的进度条已经越来越少,CSS 进度条如雨后春笋般涌现.CSS3的崛起,更使得动态效果得以轻松实现,未来,必定是CSS3的天下,所以今天我就来分享一下几个常见的CSS3进度条Loadi ...

  4. 纯css3 加载loading动画特效

    最近项目中要实现当页面还没有加载完给用户提示正在加载的loading,本来是想做个图片提示的,但是图片如果放大电脑的分辨率就会感觉到很虚,体验效果很不好.于是就采用css3+js实现这个loading ...

  5. 28种CSS3炫酷载入动画特效

    这是一组效果很炫酷的纯CSS3 Loading载入动画特效.这组loading动画共同拥有27种不同的效果.每一种loading动画都是通过CSS3的keyframes帧动画来完毕的,每个载入动画都构 ...

  6. CSS3扁平化Loading动画特效

    效果预览:http://hovertree.com/texiao/css3/42/ 代码如下: <!doctype html> <html> <head> < ...

  7. CSS3实现10种Loading效果(转)

    CSS3实现10种Loading效果  原文地址:http://www.cnblogs.com/jr1993/p/4622039.html 昨晚用CSS3实现了几种常见的Loading效果,虽然很简单 ...

  8. Css3实现常用的几种loading动画

    css实现loading动画非常方便,也非常实用 第一种 <!DOCTYPE html> <html lang="en"> <head> < ...

  9. 9种CSS3炫酷图片展开预览展示动画特效

    详细内容请点击 在线预览立即下载 这是一组共9款CSS3炫酷图片预览展示动画特效插件.css的新特性可以让我们制作出各种炫酷的动画效果.该图片预览展示动画特效就是一个很好的例子,该效果开始时图片堆叠在 ...

随机推荐

  1. 浅析 JIT 即时编译技术

    即时编译回顾 HotSpot 虚拟机执行 Java 程序时,先通过解释器对代码解释执行,发现某个方法或代码块执行比较频繁后,对热点代码进行编译,编译后生成与本地平台相关的机器码,再去执行机器码获得较高 ...

  2. python机器学习实现线性回归

    线性回归 关注公众号"轻松学编程"了解更多. [关键词]最小二乘法,线性 一.普通线性回归 1.原理 分类的目标变量是标称型数据,而回归将会对连续型的数据做出预测. 应当怎样从一大 ...

  3. 参悟python元类(又称metaclass)系列实战(一)

    写在前面 之前在看廖雪峰python系列的教程时,对元类的章节一直头大,总在思考我到底适不适合学习python,咋这么难,尤其是ORM的部分,倍受打击:后来从0到1手撸了一套ORM,才稍微进阶了一点理 ...

  4. 【Luogu】P1072 Hankson 的趣味题 题解

    原题链接 嗯...通过标签我们易得知,这是一道数学题(废话) 其中,题目给了这两个条件: \(gcd(x,a_0)=a_1,lcm(x,b_0)=b_1\) 所以,根据 \(gcd\) 与 \(lcm ...

  5. 最新阿里Java后端开发面试题100道(P6-P7)

    面试题 1.什么是字节码?采用字节码的好处是什么?2. Oracle JDK 和 OpenJDK 的对比?3.Arrays.sort 和 Collections.sort 实现原理和区别4.wait ...

  6. 【Kata Daily 190906】Vasya - Clerk(职员)

    题目: The new "Avengers" movie has just been released! There are a lot of people at the cine ...

  7. ros启动节点Error: package 'chapter2_tutorials' not found问题

    在学习ROS时,实现节点之间的通信时,参考ROS机器人高效编程,每次启动节点的时候 $ rosrun chapter2_tutorials example1_a 都会提示 Error: package ...

  8. Spider_基础总结2_Requests异常

    # 1: BeautifulSoup的基本使用: import requests from bs4 import BeautifulSoup html=requests.get('https://ww ...

  9. Nagios 告警配置太复杂?CA简单实现Nagios自定义多功能告警

    Nagios 是一个插件式的监控系统,可以监控服务的运行状态和网络信息等,并能监视所指定的本地或远程主机参数以及服务,同时提供异常告警通知功能等.Nagios 支持客户端的数据采集,通过编写客户端插件 ...

  10. go-zero 如何扛住流量冲击(一)

    不管是在单体服务中还是在微服务中,开发者为前端提供的API接口都是有访问上限的,当访问频率或者并发量超过其承受范围时候,我们就必须考虑限流来保证接口的可用性或者降级可用性.即接口也需要安装上保险丝,以 ...