- 1
I want to transform heading2 with object g. It's not working. Thanks you.
Transform rotate 45deg object g. https://code.sololearn.com/WWn5O6tTSYi8/?ref=app
1 Respuesta
+ 1
The correct css style is: transform: rotate(45drg);
Thus in Javascript is : heading2.style.transform = "rotate(" + g.tranform + ")";
https://code.sololearn.com/W2DWXO311Yag/?ref=app