In css3. Why is transform: rotate() not working in sololearn | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

In css3. Why is transform: rotate() not working in sololearn

If you should try this code, it won't work, and I have checked it so many times. div { width: 200px; height: 100px; margin-top: 30px; background-color: #32CD32; transform: rotate(10deg); }

10th Sep 2021, 2:52 PM
Nwanebike Daniel
Nwanebike Daniel - avatar
4 Answers
+ 4
Its working fine on my device. & Try this -webkit-transform:rotate(10deg);
10th Sep 2021, 2:57 PM
SAN
SAN - avatar
10th Sep 2021, 2:56 PM
Oma Falk
Oma Falk - avatar
10th Sep 2021, 2:57 PM
praneetha
praneetha - avatar
+ 1
Thanks "SAN", It is working just fine with -webkit-prefix. Thanks all.
10th Sep 2021, 7:10 PM
Nwanebike Daniel
Nwanebike Daniel - avatar