Recreating the hyperjump effect from Star Wars using translateX
.
@keyframes hyperjump {
0% {
opacity: 1;
transform: translateX(0);
}
1% {
transform: translateX(-50px);
}
100% {
opacity: 1;
transform: translateX(-100vw);
}
P/S: Can anyone find a video clip for the hyperjump effect? I can't seem to find it on youtube or anywhere else.
P/P/S: To leaky and jiji, I didn't do this during working hours. I work hard at work. 🌝
Credits:
Stars from http://pluspng.com/png-141250.html
I drew the millennium falcon from http://elrumordelaluz.github.io/Pixelator/
Top comments (7)
Woahhh, that was awesome. It would be great if someone could explain how the following box-shadow stuff works and creates that millenium falcon.
😳THANKS! Yup someone will explain in her next post :)
Maybe include a wider shadow in the animation..?
Maybe I will try it later...
Let’s challenge, see whose shadow is bigger. 😂 I’ll update it later
See the Pen Star Wars Hyperjump by Tamás Dienes (@tomDienes) on CodePen.
Fabulous
Aw thanks 😊