+ 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);
5 Answers
+ 9
CalviŐ˛ Thank you! I was adding transform orgin to keyframes đđ
+ 7
CalviŐ˛ Still not working đ¤
+ 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.
+ 3
Try to add
transform-origin: 100% 100%;