Поверните Div, используя JavaScript
div.style.tranform = 'rotate(' + angleInDegrees + 'deg);';
Successful Sandpiper
div.style.tranform = 'rotate(' + angleInDegrees + 'deg);';