<!DOCTYPE html>
<html lang="en-US">
<head>
<style>
img{
width: 100px;
height: 100px;
position: absolute;
top:0%;
animation: myAnimation 5s infinite;
-webkit-animation: myAnimation 5s infinite; /* Safari 4.0 - 8.0 */
}
@keyframes myAnimation {
50% {top: 100%;}
}
/* Safari 4.0 - 8.0 */
@-webkit-keyframes myAnimation {
50% {top: 100%;}
}
</style>
</head>
<body>
<h1>CSS Animatable top</h1>
<img src="orange.png"> </body>
</html>