loading.html 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  6. <title>loading</title>
  7. <style>
  8. * {
  9. margin: 0;
  10. padding: 0;
  11. box-sizing: border-box;
  12. user-select: none;
  13. }
  14. .content {
  15. width: 520px;
  16. height: 150px;
  17. text-align: center;
  18. margin: 0;
  19. transform: translateZ(0);
  20. color: #0091ff;
  21. font-weight: 700;
  22. display: inline-block;
  23. letter-spacing: -4px;
  24. font-size: 72px;
  25. font-family: DouYu;
  26. text-shadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaa,
  27. 0 6px 1px rgba(0, 0, 0, 0.1), 0 0 5px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.3),
  28. 0 3px 5px rgba(0, 0, 0, 0.2), 0 5px 10px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.2),
  29. 0 20px 20px rgba(0, 0, 0, 0.15);
  30. text-shadow: 0 1px 0 rgb(115, 176, 233), 0 2px 0 #6b83ee, 0 3px 0 rgb(214, 153, 153), 0 4px 0 #48a8b4,
  31. 0 5px 0 rgb(115, 199, 164), 0 6px 1px rgba(47, 125, 228, 0.1), 0 0 5px rgba(0, 0, 0, 0.1),
  32. 0 1px 3px rgba(0, 0, 0, 0.3), 0 3px 5px rgba(0, 0, 0, 0.2), 0 5px 10px rgba(0, 0, 0, 0.25),
  33. 0 10px 10px rgba(0, 0, 0, 0.2), 0 20px 20px rgba(0, 0, 0, 0.15);
  34. }
  35. span {
  36. display: inline-block;
  37. animation: leSnake 1.5s ease-in-out;
  38. animation-iteration-count: infinite;
  39. }
  40. @keyframes leSnake {
  41. from,
  42. to {
  43. transform: translateY(0px);
  44. }
  45. 50% {
  46. transform: translateY(30px);
  47. }
  48. }
  49. </style>
  50. </head>
  51. <body>
  52. <h1 class="content leSnake">
  53. <span class="letter" style="animation-delay: 100ms">C</span
  54. ><span class="letter" style="animation-delay: 250ms">E</span
  55. ><span class="letter" style="animation-delay: 400ms; letter-spacing: 6px">T</span
  56. ><span class="letter" style="animation-delay: 550ms">电</span
  57. ><span class="letter" style="animation-delay: 700ms">子</span
  58. ><span class="letter" style="animation-delay: 850ms">阅</span
  59. ><span class="letter" style="animation-delay: 1000ms">卷</span>
  60. </h1>
  61. </body>
  62. </html>