#game { width: 500px; hight: 200px; border: 1px solid black; margin: auto; } #character { width: 20px; hight: 50px; background-color: red; position: relitive; top: 150px; } @keyframes jump { 0% { top: 150; }