Hey,guys.Does anyone know about @keyframes? I write a code which intends to make the ball slide away again and again.But it won’t work.Any help will be thankful.
You need to include the amount of time the animation will run for. Also, you needed to add position: absolute to the the circle so that the left:; top:; rules will work.
To make the animation loop you also need to add infinite to the animation:; rule.