DEV Community

Discussion on: Floating Spaceship

Collapse
 
ahmedmusallam profile image
Ahmed Musallam • Edited

This is very cool!!

I forked it and switched the animation time to 1s instead of 2s and translateY to 0.5rem instead of 1rem. I don't know why, but it speaks to me more when it's faster with a shorter travel path, makes it look like it hovering :)

codepen.io/anon/pen/eLMQYP

Collapse
 
annlin profile image
ann lin

Nice! Definitely, I made it to 2s so we can see the difference between different timing-function clearer. Shorter distance makes it subtle and more natural.