Published
- 1 min read
rotate a div using javascript
The solution for this is noted below
rotate a div using javascript
Solution
div.style.tranform = 'rotate(' + angleInDegrees + 'deg);'
Try other methods by searching on the site. That is if this doesn’t work