1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
| body { background: #121212; height: 100vh; display: flex; justify-content: center; align-items: center; position:relative; }
.circle { position: absolute; border-radius: 50%; border: 5px solid #212121; animation: circling 4s linear infinite; }
.circle-yellow { width: 250px; height: 250px; border-top: 5px solid rgb(255, 246, 0); border-left: 5px solid rgb(255, 246, 0); }
.circle-blue { width: 200px; height: 200px; border-bottom: 5px solid rgb(0, 255, 255); border-right: 5px solid rgb(0, 255, 255); animation: circling 4s reverse linear infinite; }
.circle::before { content: ""; width: 15px; height: 15px; background: #fff; position: absolute; border-radius: 50%; }
.circle.circle-yellow::before { background: rgb(255, 246, 0); top: 28px; right: 28px; box-shadow: 0 0 20px rgb(255, 246, 0), 0 0 40px rgb(255, 246, 0), 0 0 60px rgb(255, 246, 0), 0 0 80px rgb(255, 246, 0), 0 0 0 5px rgba(255, 246, 0,0.1); }
.circle.circle-blue::before { background: rgb(0, 255, 255); top: 20px; right: 20px; box-shadow: 0 0 20px rgb(0, 255, 255), 0 0 40px rgb(0, 255, 255), 0 0 60px rgb(0, 255, 255), 0 0 80px rgb(0, 255, 255), 0 0 0 5px rgba(0, 255, 255,0.1); }
@keyframes circling { 0%{ transform:rotate(0deg) } 100%{ transform:rotate(360deg) } }
|