Open torkiljohnsen opened 12 years ago
See transform-calls done here: https://github.com/bradbirdsall/Swipe/blob/master/swipe.js
Vendor prefix hell looks like this in CSS:
-webkit-transform : translate3d(175px, 0, 0); -moz-transform : translate(175px, 0); -ms-transform : translate(175px, 0); -o-transform : translate(175px, 0); transform : translate(175px, 0);
This project seems to have solved this already: https://github.com/acolangelo/jPanelMenu/blob/master/jPanelMenu-1.0.0.js
http://www.modernizr.com/docs/
See: Isotope uses a Modernizr feature detect to use transitions along with transforms to achieve full hardware acceleration when possible, falling back to jQuery-based animation otherwise.