index.html 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  6. <meta name="renderer" content="webkit" />
  7. <meta
  8. name="viewport"
  9. content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0"
  10. />
  11. <title>pure-admin-thin</title>
  12. <link rel="icon" href="/favicon.ico" />
  13. <script>
  14. window.process = {};
  15. </script>
  16. </head>
  17. <body>
  18. <div id="app">
  19. <style>
  20. html,
  21. body,
  22. #app {
  23. position: relative;
  24. display: flex;
  25. align-items: center;
  26. justify-content: center;
  27. width: 100%;
  28. height: 100%;
  29. overflow: hidden;
  30. }
  31. .loader,
  32. .loader::before,
  33. .loader::after {
  34. width: 2.5em;
  35. height: 2.5em;
  36. border-radius: 50%;
  37. animation: load-animation 1.8s infinite ease-in-out;
  38. animation-fill-mode: both;
  39. }
  40. .loader {
  41. position: relative;
  42. top: 0;
  43. margin: 80px auto;
  44. font-size: 10px;
  45. color: #406eeb;
  46. text-indent: -9999em;
  47. transform: translateZ(0);
  48. transform: translate(-50%, 0);
  49. animation-delay: -0.16s;
  50. }
  51. .loader::before,
  52. .loader::after {
  53. position: absolute;
  54. top: 0;
  55. content: "";
  56. }
  57. .loader::before {
  58. left: -3.5em;
  59. animation-delay: -0.32s;
  60. }
  61. .loader::after {
  62. left: 3.5em;
  63. }
  64. @keyframes load-animation {
  65. 0%,
  66. 80%,
  67. 100% {
  68. box-shadow: 0 2.5em 0 -1.3em;
  69. }
  70. 40% {
  71. box-shadow: 0 2.5em 0 0;
  72. }
  73. }
  74. </style>
  75. <div class="loader"></div>
  76. </div>
  77. <script type="module" src="/src/main.ts"></script>
  78. </body>
  79. </html>