<div></div>
div {
width: 100px;
height: 100px;
position: relative;
background-color: brown;
animation-name: mymove;
animation-duration: 4s;
animation-iteration-count: 3;
}
@keyframes mymove {
0% {left: 0px; top: 0px;}
100% {left: 150px; top: 0px;}
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.