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
| body, html { height: 100%; display: flex; justify-content: center; align-items: center; flex-direction: column; }
#rocket-container { position: relative; }
#rocket { font-size: 50px; opacity: 1; }
#shockwave { position: absolute; width: 100px; height: 100px; border-radius: 50%; background: rgba(255, 255, 0, 0.5); top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0); display: none; }
@keyframes charge { from { opacity: 1; transform: translateY(0); } to { opacity: 0.5; transform: translateY(50px); } }
@keyframes launch { from { opacity: 0.5; transform: translateY(50px); } to { opacity: 1; transform: translateY(-100px); } }
@keyframes shockwaveAnimation { from { transform: translate(-50%, -50%) scale(0); opacity: 1; } to { transform: translate(-50%, -50%) scale(4); opacity: 0; } }
|