Loader by StealthWorm
#212121
1.loader { 2 display: flex; 3 width: 8rem; 4 height: 8rem; 5 justify-items: center; 6 justify-content: center; 7 align-items: center; 8} 9 10.head { 11 width: 100%; 12 height: 100%; 13 background-color: #FA95FB; 14 border-radius: 50%; 15 animation: move 3s linear infinite; 16 box-shadow: 0 1rem 1rem #E220B8; 17 filter: blur(.3rem); 18 z-index: 1; 19} 20 21.eye { 22 display: flex; 23 position: absolute; 24 width: 4rem; 25 height: 4rem; 26 background-color: #EFFFC8; 27 border-radius: 50%; 28 align-items: center; 29 justify-content: center; 30 z-index: 2; 31 box-shadow: 0 0 1rem #F752F7; 32 animation: move 5s alternate infinite; 33} 34 35.eye::before { 36 content: ""; 37 display: flex; 38 width: 1rem; 39 height: 2rem; 40 background-color: #000; 41 border-radius: 50%; 42 animation: blink 4s ease-in-out alternate infinite; 43} 44 45.flames { 46 display: flex; 47 position: absolute; 48 z-index: 0; 49} 50 51.particle { 52 display: flex; 53 position: absolute; 54 background-color: #FA95FB; 55 border-radius: 50%; 56 filter: blur(.3rem); 57 border-top: 5px solid #E220B8; 58 border-left: 5px solid #E220B8; 59} 60 61.flames::before { 62 content: ""; 63 position: absolute; 64 width: 8rem; 65 height: 8rem; 66 background: #f865d8; 67 filter: blur(5rem); 68 opacity: 0.5; 69 border-radius: 50%; 70 top: -8rem; 71 left: -4rem; 72 z-index: 4; 73 animation: pulse 3s linear infinite; 74} 75 76.particle:nth-child(1) { 77 width: 4rem; 78 height: 4rem; 79 top: -6rem; 80 animation: move 7s alternate-reverse infinite; 81} 82 83.particle:nth-child(2) { 84 width: 1.5rem; 85 height: 1.5rem; 86 top: -8rem; 87 left: -5rem; 88 animation: move 1.5s ease-in-out reverse infinite; 89} 90 91.particle:nth-child(3) { 92 width: 4rem; 93 height: 4rem; 94 top: -5rem; 95 left: -4rem; 96 animation: move 8s alternate-reverse infinite; 97} 98 99.particle:nth-child(4) { 100 width: 3rem; 101 height: 3rem; 102 top: -7.5rem; 103 animation: move 4s alternate-reverse infinite; 104} 105 106.particle:nth-child(5) { 107 width: 2rem; 108 height: 2rem; 109 top: -9rem; 110 left: 1rem; 111 animation: move 2.5s alternate-reverse infinite; 112} 113 114.particle:nth-child(6) { 115 width: 2rem; 116 height: 2rem; 117 top: -6.8rem; 118 left: -1.5rem; 119 animation: move 5s alternate-reverse infinite; 120} 121 122.particle:nth-child(7) { 123 width: 1rem; 124 height: 1rem; 125 top: -10rem; 126 left: -1rem; 127 animation: move 1.2s alternate-reverse infinite; 128} 129 130.particle:nth-child(8) { 131 width: 1.3rem; 132 height: 1.3rem; 133 top: -7.5rem; 134 left: -2rem; 135 animation: move 2.5s alternate-reverse infinite; 136} 137 138@keyframes move { 139 0% { 140 transform: translate(0, 0); 141 } 142 143 50% { 144 transform: translate(4px, 6px); 145 } 146 147 100% { 148 transform: translate(0, 0); 149 } 150} 151 152@keyframes blink { 153 20% { 154 transform: translate(0, 0); 155 height: 2rem; 156 } 157 158 30% { 159 height: 0; 160 } 161 162 40% { 163 transform: translate(5px, 10px); 164 height: 0; 165 } 166 167 50% { 168 height: 2rem; 169 } 170 171 70% { 172 transform: translate(-10px, -10px); 173 } 174 175 90% { 176 transform: translate(0, 0); 177 } 178} 179 180@keyframes pulse { 181 0% { 182 opacity: 0.5; 183 } 184 185 50% { 186 opacity: 1; 187 } 188 189 100% { 190 opacity: 0.5; 191 } 192} 193
828 views
828 views
Variations
1 MIT License