diff --git a/index.html b/index.html index 77907b3e..912c0928 100644 --- a/index.html +++ b/index.html @@ -30,91 +30,123 @@ display: flex; justify-content: center; align-items: center; - background: #000; - overflow: hidden; - font-family: 'Reggae One', cursive; } - .develop-p { - font-size: 8vw; - overflow: hidden; - -webkit-text-stroke: 3px #7272a5; + .loading { + display: block; + font-size: 0; + color: #409eff; + width: 82px; + height: 72px; } - .develop-span { - display: block; - font-size: 20px; - overflow: hidden; - color: green; - text-align: center; + .loading > div { + position: relative; + box-sizing: border-box; + display: inline-block; + float: none; + background-color: currentcolor; + border: 0 solid currentcolor; } - .develop-p::before { - content: ' '; - width: 100%; - height: 100%; + .loading.la-dark { + color: #333; + } + + .loading > div:nth-child(1) { position: absolute; - left: 0; - top: 0; - background-image: linear-gradient(45deg, #ff269b, #2ab5f5, #ffbf00); - mix-blend-mode: multiply; + bottom: 32%; + left: 18%; + width: 24px; + height: 24px; + border-radius: 100%; + transform-origin: center bottom; + animation: ball-climbing-dot-jump 0.6s ease-in-out infinite; } - .develop-p::after { - content: ''; - background: radial-gradient(circle, #fff, #000 50%); - background-size: 25% 25%; + .loading > div:not(:nth-child(1)) { position: absolute; - top: -100%; - left: -100%; + top: 0; right: 0; - bottom: 0; - mix-blend-mode: color-dodge; - animation: mix 2s linear infinite; + width: 24px; + height: 2px; + border-radius: 0; + transform: translate(60%, 0); + animation: ball-climbing-dot-steps 1.8s linear infinite; + } + + .loading > div:not(:nth-child(1)):nth-child(2) { + animation-delay: 0ms; } - @keyframes mix { - to { - transform: translate(50%, 50%); + .loading > div:not(:nth-child(1)):nth-child(3) { + animation-delay: -600ms; + } + + .loading > div:not(:nth-child(1)):nth-child(4) { + animation-delay: -1200ms; + } + + @keyframes ball-climbing-dot-jump { + 0% { + transform: scale(1, 0.7); + } + + 20% { + transform: scale(0.7, 1.2); + } + + 40% { + transform: scale(1, 1); + } + + 50% { + bottom: 125%; + } + + 46% { + transform: scale(1, 1); + } + + 80% { + transform: scale(0.7, 1.2); + } + + 90% { + transform: scale(0.7, 1.2); + } + + 100% { + transform: scale(1, 0.7); + } + } + + @keyframes ball-climbing-dot-steps { + 0% { + top: 0; + right: 0; + opacity: 0; + } + + 50% { + opacity: 1; + } + + 100% { + top: 100%; + right: 100%; + opacity: 0; } } -
SuperCuteXiaoSi
- +