index.css 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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. }