|
| 1 | +body { |
| 2 | + margin: 0; |
| 3 | + height: 100vh; |
| 4 | + display: flex; |
| 5 | + justify-content: center; |
| 6 | + align-items: center; |
| 7 | + background: #020612; |
| 8 | +} |
| 9 | + |
| 10 | +.grid { |
| 11 | + width: 250px; |
| 12 | + height: 250px; |
| 13 | + display: grid; |
| 14 | + grid-template-columns: repeat(5, 1fr); |
| 15 | + grid-gap: 10px; |
| 16 | +} |
| 17 | + |
| 18 | +.grid div { |
| 19 | + width: 30px; |
| 20 | + height: 30px; |
| 21 | + background: #00eaff; |
| 22 | + border-radius: 50%; |
| 23 | + opacity: 0.3; |
| 24 | + animation: pulse 2.2s infinite ease-in-out; |
| 25 | + box-shadow: 0 0 10px #00eaff; |
| 26 | +} |
| 27 | + |
| 28 | +@keyframes pulse { |
| 29 | + 0%, 100% { transform: scale(0.6); opacity: 0.3; } |
| 30 | + 50% { transform: scale(1.4); opacity: 1; } |
| 31 | +} |
| 32 | + |
| 33 | +.grid div:nth-child(1) { animation-delay: 0s; } |
| 34 | +.grid div:nth-child(2) { animation-delay: .1s; } |
| 35 | +.grid div:nth-child(3) { animation-delay: .2s; } |
| 36 | +.grid div:nth-child(4) { animation-delay: .3s; } |
| 37 | +.grid div:nth-child(5) { animation-delay: .4s; } |
| 38 | +.grid div:nth-child(6) { animation-delay: .5s; } |
| 39 | +.grid div:nth-child(7) { animation-delay: .6s; } |
| 40 | +.grid div:nth-child(8) { animation-delay: .7s; } |
| 41 | +.grid div:nth-child(9) { animation-delay: .8s; } |
| 42 | +.grid div:nth-child(10) { animation-delay: .9s; } |
| 43 | +.grid div:nth-child(11) { animation-delay: 1s; } |
| 44 | +.grid div:nth-child(12) { animation-delay: 1.1s; } |
| 45 | +.grid div:nth-child(13) { animation-delay: 1.2s; } |
| 46 | +.grid div:nth-child(14) { animation-delay: 1.3s; } |
| 47 | +.grid div:nth-child(15) { animation-delay: 1.4s; } |
| 48 | +.grid div:nth-child(16) { animation-delay: 1.5s; } |
| 49 | +.grid div:nth-child(17) { animation-delay: 1.6s; } |
| 50 | +.grid div:nth-child(18) { animation-delay: 1.7s; } |
| 51 | +.grid div:nth-child(19) { animation-delay: 1.8s; } |
| 52 | +.grid div:nth-child(20) { animation-delay: 1.9s; } |
| 53 | +.grid div:nth-child(21) { animation-delay: 2s; } |
| 54 | +.grid div:nth-child(22) { animation-delay: 2.1s; } |
| 55 | +.grid div:nth-child(23) { animation-delay: 2.2s; } |
| 56 | +.grid div:nth-child(24) { animation-delay: 2.3s; } |
| 57 | +.grid div:nth-child(25) { animation-delay: 2.4s; } |
0 commit comments