Hi,
I want to change the -webkit-transform: rotate() property using Javascript dynamically. But the commonly used setAttribute is not working:
img.setAttribute('-webkit-transform', 'rotate(60deg)');
The .style is not working either..
How can I set this dynamically in Javascript? I know some of you have experience dealing with this before.
-
Thanks to all the guys that helped me out!