index.css 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. * {
  2. margin: 0;
  3. }
  4. .first-loading-wrp {
  5. display: flex;
  6. justify-content: center;
  7. align-items: center;
  8. height: 100vh;
  9. background-color: #17171a;
  10. }
  11. .first-loading-wrp > h1 {
  12. font-size: 128px;
  13. }
  14. .first-loading-wrp .loading-wrp {
  15. padding: 98px;
  16. display: flex;
  17. justify-content: center;
  18. align-items: center;
  19. }
  20. .dot {
  21. animation: antRotate 1.2s infinite linear;
  22. transform: rotate(45deg);
  23. position: relative;
  24. display: inline-block;
  25. font-size: 32px;
  26. width: 32px;
  27. height: 32px;
  28. box-sizing: border-box;
  29. }
  30. .dot i {
  31. width: 14px;
  32. height: 14px;
  33. position: absolute;
  34. display: block;
  35. background-color: #1890ff;
  36. border-radius: 100%;
  37. transform: scale(0.75);
  38. transform-origin: 50% 50%;
  39. opacity: 0.3;
  40. animation: antSpinMove 1s infinite linear alternate;
  41. }
  42. .dot i:nth-child(1) {
  43. top: 0;
  44. left: 0;
  45. }
  46. .dot i:nth-child(2) {
  47. top: 0;
  48. right: 0;
  49. -webkit-animation-delay: 0.4s;
  50. animation-delay: 0.4s;
  51. }
  52. .dot i:nth-child(3) {
  53. right: 0;
  54. bottom: 0;
  55. -webkit-animation-delay: 0.8s;
  56. animation-delay: 0.8s;
  57. }
  58. .dot i:nth-child(4) {
  59. bottom: 0;
  60. left: 0;
  61. -webkit-animation-delay: 1.2s;
  62. animation-delay: 1.2s;
  63. }
  64. @keyframes antRotate {
  65. to {
  66. -webkit-transform: rotate(405deg);
  67. transform: rotate(405deg);
  68. }
  69. }
  70. @-webkit-keyframes antRotate {
  71. to {
  72. -webkit-transform: rotate(405deg);
  73. transform: rotate(405deg);
  74. }
  75. }
  76. @keyframes antSpinMove {
  77. to {
  78. opacity: 1;
  79. }
  80. }
  81. @-webkit-keyframes antSpinMove {
  82. to {
  83. opacity: 1;
  84. }
  85. }
  86. /* 小屏处理 0~1000*/
  87. .mobile-terminal {
  88. display: none;
  89. }
  90. @media (max-width: 1000px) {
  91. #app {
  92. display: none;
  93. }
  94. .mobile-terminal {
  95. display: flex;
  96. align-items: center;
  97. justify-content: center;
  98. width: 100vw;
  99. height: 100vh;
  100. text-align: center;
  101. font-size: 24px;
  102. font-weight: 200;
  103. background-image: linear-gradient(to top, #fff1eb 0%, #ace0f9 100%);
  104. }
  105. }