HTML
CSS
JS
Run
.grid-loader { display: inline-block; position: relative; width: 80px; height: 80px; } .grid-loader span { position: absolute; width: 12px; height: 12px; border-radius: 2px; background: #8612ad; animation: grid-loader-animation 1.2s linear infinite; } .grid-loader span:nth-child(1) { top: 8px; left: 8px; animation-delay: 0s; } .grid-loader span:nth-child(2) { top: 8px; left: 28px; animation-delay: -0.4s; } .grid-loader span:nth-child(3) { top: 8px; left: 48px; animation-delay: -0.8s; } .grid-loader span:nth-child(4) { top: 28px; left: 8px; animation-delay: -0.4s; } .grid-loader span:nth-child(5) { top: 28px; left: 28px; animation-delay: -0.8s; } .grid-loader span:nth-child(6) { top: 28px; left: 48px; animation-delay: -1.2s; } .grid-loader span:nth-child(7) { top: 48px; left: 8px; animation-delay: -0.8s; } .grid-loader span:nth-child(8) { top: 48px; left: 28px; animation-delay: -1.2s; } .grid-loader span:nth-child(9) { top: 48px; left: 48px; animation-delay: -1.6s; } @keyframes grid-loader-animation { 0% { opacity: 1; } 50% { opacity: 0.5; } }
Press Ctrl+Space Key for Auto complete and Intelli Sense