The ball and the player on the left are animated with CSS. The player on the right is animated with JavaScript.