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