Gire un DIV usando JavaScript

div.style.tranform = 'rotate(' + angleInDegrees + 'deg);';
Successful Sandpiper