TransitionDuration js
document.getElementById("myId").style.transform += "rotate(90deg)";
document.getElementById("myId").style.transitionDuration = "0.3s";
ayaan
document.getElementById("myId").style.transform += "rotate(90deg)";
document.getElementById("myId").style.transitionDuration = "0.3s";