- 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

26th Jun 2021, 11:54 AM
Malick Diagne
Malick Diagne - avatar
1 ответ
+ 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
26th Jun 2021, 12:25 PM
Calviղ
Calviղ - avatar