#212121
1.scanner span { 2 color: transparent; 3 font-size: 1.4rem; 4 position: relative; 5 overflow: hidden; 6} 7 8.scanner span::before { 9 content: "Loading..."; 10 position: absolute; 11 top: 0; 12 left: 0; 13 width: 0; 14 height: 100%; 15 border-right: 4px solid #17FEFF; 16 overflow: hidden; 17 color: #17FEFF; 18 animation: load91371 2s linear infinite; 19} 20 21@keyframes load91371 { 22 0%, 10%, 100% { 23 width: 0; 24 } 25 26 10%,20%,30%,40%,50%,60%,70%,80%,90%,100% { 27 border-right-color: transparent; 28 } 29 30 11%,21%,31%,41%,51%,61%,71%,81%,91% { 31 border-right-color: #17FEFF; 32 } 33 34 60%, 80% { 35 width: 100%; 36 } 37}
4.8K views
4.8K views
Comments
MIT License