Obróć div za pomocą JavaScript
div.style.tranform = 'rotate(' + angleInDegrees + 'deg);';
Successful Sandpiper
div.style.tranform = 'rotate(' + angleInDegrees + 'deg);';