The code snippet below triggers the animation specifically designed for Firefox
#rocket {
position: relative;
top: 10px;
-webkit-animation-name: rocketLaunch;
animation-name: rocket-launch;
-webkit-animation-duration: 5s;
animation-duration: 5s;
-moz-animation-name: rocketLaunch;
-ms-animation-name: rocketLaunch;
-moz-animation-duration: 5s;
-ms-animation-duration: 5s;
}
This next part executes the animation on the Safari web browser, however it doesn't display properly on Chrome, resulting in a static image as shown in the previous code block.
@-webkit-keyframes rocketLaunch {
0% {
top: 700px;
}
100% {
top: 10px;
}
}
@keyframes rocketLaunch {
0% {
top: 700px;
}
100% {
top: 10px;
}
}
What could be causing the animation to not work correctly on Google Chrome?