[JS] cm-rotate.js

Lab | April 4, 2013 | 3 Comments    

ABOUT
Rotate js using CSS translate3d and transition
     • No dependencies
     • Works in all major browsers that support CSS translate3d or transition (IE9+)
     • Works on tablet PC
     • MIT License
EXAMPLE
DOWNLOAD FROM GITHUB
USAGE
Download the js file and include it in your html.

Add CMRotate.init function in your Javascript code.

DISPOSE
Remove all events and requestAnimationFrame
LICENSE
Copyright (c) 2013 Jongmin Kim
Licensed under the MIT license.

3 Comments

Massimo  April 17, 2013 at 4:20 AM

Hi, thank you for this piece of code!! That is exactly what I was searching for a project.
I’ve noticed a strange behavior on iPad: you can’t use twice this code. I mean I opened your fff site and the example on github and once I’ve used the rotation on fff, the github page stopped and did not respond, and vice versa.

Also I found you fff page menu a lot more smooth. Can I achieve the same smoothness with the code you’ve released?

Thanks again

Massimo

    cmiscm  May 26, 2013 at 12:37 PM

    Hmmm that’s weird, it’s exactly same code that I’ve used on my FFF site.

Leave a Reply