Paul Lewis and Paul Irish have a really good article on high-performance animations.
“Go straight to the chase. Modern browsers can animate four things really cheaply: position, scale, rotation, and opacity. If you live anything else, at your own peril and risk, and the odds aren't you going to hit a silky smooth 60 frames in give me a sec".
4 things that a browser can animate cheaply
Position - transform: translate (n px, n px);
Scale - transformation: scale (n);
Rotation - Transformation: rotation (n deg);
Opacity - Opacity: 0..1;
TranslateZ () or Translate3D () may be required.
Source: http://www.html5rocks.com/en/tutorials/speed/high-performance-animations/
source share