| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223 |
- <!doctype html>
- <html lang="zh-CN">
- <head>
- <meta charset="UTF-8" />
- <meta name="referrer" content="origin" />
- <link rel="icon" href="/favicon.ico" />
- <meta name="viewport" content="user-scalable=yes" />
- </head>
- <body>
- <div id="app">
- <style>
- body {
- padding: 0;
- margin: 0;
- overflow: hidden;
- }
- .loading {
- display: flex;
- align-items: center;
- justify-content: center;
- width: 100vw;
- height: 100vh;
- overflow: hidden;
- }
- .blobs {
- position: absolute;
- width: 300px;
- height: 300px;
- overflow: hidden;
- border-radius: 70px;
- transform-style: preserve-3d;
- }
- .blobs .blob-center {
- position: absolute;
- top: 50%;
- left: 50%;
- width: 30px;
- height: 30px;
- background: #2b4bf1;
- border-radius: 50%;
- box-shadow: 0 -10px 40px -5px #2b4bf1;
- transform: scale(0.9) translate(-50%, -50%);
- transform-origin: left top;
- transform-style: preserve-3d;
- animation: blob-grow_2 linear 3.4s infinite;
- }
- .blob {
- position: absolute;
- top: 50%;
- left: 50%;
- width: 30px;
- height: 30px;
- background: #2b4bf1;
- border-radius: 50%;
- opacity: 0;
- transform: scale(0.9) translate(-50%, -50%);
- transform-origin: center top;
- animation: blobs_2 ease-out 3.4s infinite;
- }
- .blob:nth-child(1) {
- animation-delay: 0.2s;
- }
- .blob:nth-child(2) {
- animation-delay: 0.4s;
- }
- .blob:nth-child(3) {
- animation-delay: 0.6s;
- }
- .blob:nth-child(4) {
- animation-delay: 0.8s;
- }
- .blob:nth-child(5) {
- animation-delay: 1s;
- }
- /* stylelint-disable-next-line keyframes-name-pattern */
- @keyframes blobs_2 {
- 0% {
- opacity: 0;
- transform: scale(0) translate(calc(-330px - 50%), -50%);
- }
- 1% {
- opacity: 1;
- }
- 35%,
- 65% {
- opacity: 1;
- transform: scale(0.9) translate(-50%, -50%);
- }
- 99% {
- opacity: 1;
- }
- 100% {
- opacity: 0;
- transform: scale(0) translate(calc(330px - 50%), -50%);
- }
- }
- /* stylelint-disable-next-line keyframes-name-pattern */
- @keyframes blob-grow_2 {
- 0% {
- transform: scale(0) translate(-50%, -50%);
- }
- 39% {
- transform: scale(0) translate(-50%, -50%);
- }
- 40%,
- 42% {
- transform: scale(1, 0.9) translate(-50%, -50%);
- }
- 43%,
- 44% {
- transform: scale(1.2, 1.1) translate(-50%, -50%);
- }
- 45%,
- 46% {
- transform: scale(1.3, 1.2) translate(-50%, -50%);
- }
- 47%,
- 48% {
- transform: scale(1.4, 1.3) translate(-50%, -50%);
- }
- 52% {
- transform: scale(1.5, 1.4) translate(-50%, -50%);
- }
- 54% {
- transform: scale(1.7, 1.6) translate(-50%, -50%);
- }
- 58% {
- transform: scale(1.8, 1.7) translate(-50%, -50%);
- }
- 68%,
- 70% {
- transform: scale(1.7, 1.5) translate(-50%, -50%);
- }
- 78% {
- transform: scale(1.6, 1.4) translate(-50%, -50%);
- }
- 80%,
- 81% {
- transform: scale(1.5, 1.4) translate(-50%, -50%);
- }
- 82%,
- 83% {
- transform: scale(1.4, 1.3) translate(-50%, -50%);
- }
- 84%,
- 85% {
- transform: scale(1.3, 1.2) translate(-50%, -50%);
- }
- 86%,
- 87% {
- transform: scale(1.2, 1.1) translate(-50%, -50%);
- }
- 90%,
- 91% {
- transform: scale(1, 0.9) translate(-50%, -50%);
- }
- 92%,
- 100% {
- transform: scale(0) translate(-50%, -50%);
- }
- }
- </style>
- <div class="loading">
- <div class="blobs">
- <div class="blob-center"></div>
- <div class="blob"></div>
- <div class="blob"></div>
- <div class="blob"></div>
- <div class="blob"></div>
- <div class="blob"></div>
- <div class="blob"></div>
- </div>
- <svg xmlns="http://www.w3.org/2000/svg" version="1.1">
- <defs>
- <filter id="goo">
- <feGaussianBlur in="SourceGraphic" stdDeviation="10" result="blur"></feGaussianBlur>
- <feColorMatrix in="blur" mode="matrix" values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 18 -7" result="goo">
- </feColorMatrix>
- <feBlend in="SourceGraphic" in2="goo"></feBlend>
- </filter>
- </defs>
- </svg>
- </div>
- </div>
- </body>
- </html>
|