The animation-range-end CSS property sets the point on the timeline where an animation should end.
MDN Reference