Why isn't transform rotate working? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 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 Respostas
+ 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