UNPKG

shineout

Version:

Shein 前端组件库

57 lines (56 loc) 1.33 kB
.so-spin-wave { margin: auto; font-size: 10px; text-align: center; white-space: nowrap; } @-webkit-keyframes so-spin-wave-scale { 0%, 40%, 100% { -webkit-transform: scale3d(1, 0.4, 1); transform: scale3d(1, 0.4, 1); } 20% { -webkit-transform: scale3d(1, 1, 1); transform: scale3d(1, 1, 1); } } @keyframes so-spin-wave-scale { 0%, 40%, 100% { -webkit-transform: scale3d(1, 0.4, 1); transform: scale3d(1, 0.4, 1); } 20% { -webkit-transform: scale3d(1, 1, 1); transform: scale3d(1, 1, 1); } } .so-spin-wave-item { display: inline-block; height: 100%; margin-right: 2px; -webkit-animation: so-spin-wave-scale 1.2s infinite ease-in-out; animation: so-spin-wave-scale 1.2s infinite ease-in-out; } .so-spin-wave-item:last-child { margin-right: 0; } .so-spin-wave .so-spin-wave-item:nth-child(2) { -webkit-animation-delay: -1.1s; animation-delay: -1.1s; } .so-spin-wave .so-spin-wave-item:nth-child(3) { -webkit-animation-delay: -1s; animation-delay: -1s; } .so-spin-wave .so-spin-wave-item:nth-child(4) { -webkit-animation-delay: -0.9s; animation-delay: -0.9s; } .so-spin-wave .so-spin-wave-item:nth-child(5) { -webkit-animation-delay: -0.8s; animation-delay: -0.8s; }