index.html 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <link rel="icon" href="/favicon.ico" />
  6. <link rel="stylesheet" href="/iconfont.css" />
  7. <link rel="stylesheet" href="/animate.css">
  8. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  9. <title>后台管理系统</title>
  10. <script src="https://cdn.bootcdn.net/ajax/libs/Sortable/1.13.0/Sortable.js"></script>
  11. <script>
  12. window.process = {}
  13. </script>
  14. </head>
  15. <body>
  16. <div id="app">
  17. <style>
  18. * {
  19. margin: 0;
  20. padding: 0;
  21. box-sizing: border-box;
  22. }
  23. section {
  24. display: flex;
  25. justify-content: center;
  26. align-items: center;
  27. min-height: 100vh;
  28. background: #001d10;
  29. animation: animateBackgroundC0olor 10s linear infinite;
  30. }
  31. @keyframes animateBackgroundC0olor {
  32. 0% {
  33. filter: hue-rotate(0deg);
  34. }
  35. 100% {
  36. filter: hue-rotate(360deg);
  37. }
  38. }
  39. .loading {
  40. position: relative;
  41. width: 250px;
  42. height: 250px;
  43. }
  44. .loading .blocks {
  45. position: absolute;
  46. width: 8px;
  47. height: 25px;
  48. background-color: #050c09;
  49. left: 50%;
  50. border-radius: 8px;
  51. transform: rotate(calc(18deg * var(--i)));
  52. transform-origin: 0 125px;
  53. animation: animate 1.9s ease-in-out infinite;
  54. animation-delay: calc(0.05s * var(--i));
  55. }
  56. @keyframes animate {
  57. 0%,
  58. 50% {
  59. background: #050c09;
  60. box-shadow: none;
  61. }
  62. 50.1%,
  63. 100% {
  64. background: #0f0;
  65. box-shadow: 0 0 5px #0f0,
  66. 0 0 15px #0f0,
  67. 0 0 30px #0f0,
  68. 0 0 60px #0f0,
  69. 0 0 90px #0f0;
  70. }
  71. }
  72. h3 {
  73. position: absolute;
  74. top: 50%;
  75. left: 50%;
  76. transform: translate(-50%, -50%);
  77. font-size: 2em;
  78. letter-spacing: 2px;
  79. animation: animateText 2s ease-in-out infinite;
  80. animation-delay: -1s;
  81. }
  82. @keyframes animateText {
  83. 0%,
  84. 50% {
  85. color: #050c09;
  86. text-shadow: none;
  87. }
  88. 50.1%,
  89. 100% {
  90. color: #0f0;
  91. text-shadow: 0 0 5px #0f0,
  92. 0 0 15px #0f0;
  93. }
  94. }
  95. </style>
  96. <section>
  97. <div class="loading">
  98. <div class="blocks" style="--i:1;"></div>
  99. <div class="blocks" style="--i:2;"></div>
  100. <div class="blocks" style="--i:3;"></div>
  101. <div class="blocks" style="--i:4;"></div>
  102. <div class="blocks" style="--i:5;"></div>
  103. <div class="blocks" style="--i:6;"></div>
  104. <div class="blocks" style="--i:7;"></div>
  105. <div class="blocks" style="--i:8;"></div>
  106. <div class="blocks" style="--i:9;"></div>
  107. <div class="blocks" style="--i:10;"></div>
  108. <div class="blocks" style="--i:11;"></div>
  109. <div class="blocks" style="--i:12;"></div>
  110. <div class="blocks" style="--i:13;"></div>
  111. <div class="blocks" style="--i:14;"></div>
  112. <div class="blocks" style="--i:15;"></div>
  113. <div class="blocks" style="--i:16;"></div>
  114. <div class="blocks" style="--i:17;"></div>
  115. <div class="blocks" style="--i:18;"></div>
  116. <div class="blocks" style="--i:19;"></div>
  117. <div class="blocks" style="--i:20;"></div>
  118. <h3>loading</h3>
  119. </div>
  120. </section>
  121. </div>
  122. <script type="module" src="/src/main.ts"></script>
  123. </body>
  124. </html>