.loading-container { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 90vh; min-height: 90vh; h1 { font-size: 28px; font-weight: bolder; } .dot-wrapper { display: flex; align-items: center; justify-content: center; padding: 98px; .dot { position: relative; box-sizing: border-box; display: inline-block; width: 64px; height: 64px; font-size: 64px; transform: rotate(45deg); animation: rotate 1.2s infinite linear; i { position: absolute; display: block; width: 28px; height: 28px; background-color: #1890ff; border-radius: 100%; opacity: 0.3; transform: scale(0.75); transform-origin: 50% 50%; animation: spin 1s infinite linear alternate; &:nth-child(1) { top: 0; left: 0; } &:nth-child(2) { top: 0; right: 0; -webkit-animation-delay: 0.4s; animation-delay: 0.4s; } &:nth-child(3) { right: 0; bottom: 0; -webkit-animation-delay: 0.8s; animation-delay: 0.8s; } &:nth-child(4) { bottom: 0; left: 0; -webkit-animation-delay: 1.2s; animation-delay: 1.2s; } } } } } @keyframes rotate { to { -webkit-transform: rotate(405deg); transform: rotate(405deg); } } @keyframes spin { to { opacity: 1; } }