Loader by dhruv465
#e8e8e8
1.loader { 2 border: 16px solid #f3f3f3; 3 border-top: 16px solid #3498db; 4 border-radius: 50%; 5 width: 120px; 6 height: 120px; 7 animation: spin 2s linear infinite; 8} 9 10/* Add some glow effect */ 11.loader::after { 12 content: ""; 13 position: absolute; 14 top: -5px; 15 left: -5px; 16 right: -5px; 17 bottom: -5px; 18 border-radius: 50%; 19 box-shadow: inset 0px 0px 20px #3498db; 20} 21 22/* Rotate the circle */ 23@keyframes spin { 24 0% { 25 transform: rotate(0deg); 26 } 27 28 100% { 29 transform: rotate(360deg); 30 } 31}
592 views
592 views
MIT License