资 源 简 介
A plug-in for animating many elements by changing/animating a CSS rule.
Animating many elements in Javascript at once is a pain, even with the latest browsers. On every step of the animation all elements need to have their style property set and that takes time. Animating a style rule is much simpler as you only need to change properties on a single element and the browser takes care of the propagation to all elements while re-rendering.
Pros & cons
Works WAY faster when you animate many elements
Animation is smooth
Only one event triggered when finished with the animation
Depends on jQuery.rule plugin
You can only use CSS that a specific browser supports
You have to make sure CSS specificity is in order
This means it"s basically useful in a single case - where you"re animating loads of elements at once. The case I need it for.
For more, go to http://code.zemanta