I'm trying to convert a JS script that was made for touch enabled devices like ipads so it can be used with the mouse gestures.
The script uses translate3d, which (I think) is webkit specific, but I'd like to make this work in as many browsers as I can. So, what's the CSS3 alternative to translate3d?
Here's how it's being used in the JavaScript:
element.style.webkitTransform = 'translate3d(500px, 0, 0)';
My knowledge of CSS3 is very limited, so any examples / explanations you can give are much appreciated.