Edit & Run
Gradually change the top property from 0, to 300px then back to 0:
The top property is animatable in CSS.
Note: CSS Animations do not work in Internet Explorer 9 and earlier versions.