636 views
1.loader { 2 width: 12em; 3 height: 1em; 4 border-radius: 8px; 5 background-color: #47a7ff44; 6} 7 8.loader div { 9 height: 100%; 10 width: 100%; 11 border-radius: 8px; 12 background-color: #47a7ff; 13 animation: width7435 5s linear infinite; 14 transition: all; 15} 16 17@keyframes width7435 { 18 from { 19 /*width: 0;*/ 20 transform: scaleX(0); 21 } 22 23 to { 24 transform: scaleX(1); 25 } 26}
MIT License