Can I create an animation to move a graphic image on an html page from the middle of the screen to the top left corner? Here is what I have so far:
#img1 {
bottom: 50%;
display: block;
position: absolute;
animation: linear;
animation-name: image1;
animation-duration: 10s;
}
@-webkit-keyframes image1 {
0% {
left: 0;
transform: translateX(0);
}
100% {
left: 50%;
}
}
Is this scenario achievable with CSS animations?