Im having trouble with spinning animations | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Im having trouble with spinning animations

My animations are not working on Solo learn Code output.

23rd Dec 2020, 7:10 AM
Brian Nyangweso
Brian Nyangweso - avatar
3 Answers
+ 1
Add the following .spin css class to an element: .spin { animation: rt 5s linear 0s infinite; } @keyframes rt { to { transform: rotate(360deg); } } https://code.sololearn.com/WqTF10Tg9HYP/?ref=app
1st Jan 2021, 1:32 AM
Calviղ
Calviղ - avatar
0
You have to show your code bit so we can see where it went wrong.
25th Dec 2020, 12:52 AM
Chris Coder
Chris Coder - avatar
0
You have to show your code but Try using transform:rotate();🤔
30th Dec 2020, 4:01 PM
Villain
Villain - avatar