style.transform js code example
Example 1: js transform rotate
object.style.transform="rotate(7deg)";
Example 2: css transform in javascript
document.getElementById("myDIV").style.transform = "rotate(7deg)";
object.style.transform="rotate(7deg)";
document.getElementById("myDIV").style.transform = "rotate(7deg)";