← All elements
<div class="rl" role="img" aria-label="A rocket launching"><div class="sk"></div><div class="rk"><i></i><b></b></div></div>About this animation
A little rocket that trembles, lifts off past drifting stars and returns, drawn from shapes and gradients.
How it works
The rocket body is one pseudo-element with a window painted by radial gradients, the fins are a clipped polygon and the flame flickers with a very fast scaling animation. A keyframe makes the rocket shake, shoot upward, jump below the frame and glide back. A star layer scrolls behind it.
Ways to customise it
- Change the 3.6s cycle length.
- Change the fin and flame colours.
- Adjust the star positions in the background.
Good to know
The wrapper is exposed as an image with a label. All movement stops under the reduced-motion preference, leaving a still rocket.
Open an example, copy the HTML and the CSS, and paste them into your page. There is nothing to install and no JavaScript to load.