Re:Maintaining CSS Style States using "Infinite" Transition ...
by duskwuff on Saturday August 18, 2012 @09:45PM
(#4402942)
Yep, because every time you re-initiate the animation (by clicking a button), it starts an animation from the current position to the wall and sets it to get there in 2 seconds. So the speed is dependent on the distance from the target.
Given how easy it is to duplicate the same effect in Javascript, I see no reason to use this hack.
Given how easy it is to duplicate the same effect in Javascript, I see no reason to use this hack.