how to rotate a div in ittration javascript code example Example: rotate a div using javascript div.style.tranform = 'rotate(' + angleInDegrees + 'deg);';