Why isn't transform rotate working? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 9

Why isn't transform rotate working?

Here's my code https://code.sololearn.com/WJ1nYEcYa5dF/?ref=app @keyframes roll doesn't seem to be working when I put transform:rotate(360deg);

29th Mar 2019, 8:26 PM
Coder
Coder - avatar
5 Answers
+ 9
Calviղ Thank you! I was adding transform orgin to keyframes 😂😂
30th Mar 2019, 11:31 AM
Coder
Coder - avatar
+ 7
Calviղ Still not working 🤔
30th Mar 2019, 2:18 AM
Coder
Coder - avatar
+ 5
Hira Ali ❤ actually the black eyeballs are rotating. Just so you can't see that....just focus a little bit...there. So you have to make the black eyeballs rotate around the white that's the logic... I'm no CSS expert so I can't do that...just giving you a tip.
29th Mar 2019, 8:40 PM
Jella
Jella - avatar
+ 3
Try to add transform-origin: 100% 100%;
30th Mar 2019, 12:07 AM
Calviղ
Calviղ - avatar