The CSS -webkit-animation-direction Apple extension property determines whether the animation should play in reverse on alternate iterations.