Html – How to time a svg transformation with javascript
In this example, the svg-plus button transforms into a close button when clicked and vice versa with svg.setAttribute("transform","rotate(45)"); Is it possible to time this transformation so that it's not just a change from one to another but a smooth transition?…