Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 9th, 2012  |  syntax: None  |  size: 0.31 KB  |  hits: 24  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Does animating the value of a CSS3 transform with javascript rule out hardware acceleration?
  2. $('div').animate({
  3.     '-vendor-transform' : "translate3d(100px,0,0)";
  4. }, 500)
  5.        
  6. $('div').css("-webkit-transform", "translate3d(0,0,0)");
  7. alert($('div').css("-webkit-transform"))
  8.        
  9. transform3d: translate(0,0,0);