SyntaxFix
Write A Post
Hire A Developer
Questions
Try using
img.style.webkitTransform = "rotate(60deg)"