Animate | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Animate

why this code animation doesnt work ? https://code.sololearn.com/WONhIvaavowZ/?ref=app

28th Jul 2018, 9:56 AM
Shimaa
Shimaa - avatar
8 Answers
+ 1
- Forgot a closing } for #thecircle id - Made the animation duration infinite which means so sense, you need to give it a duration like 3s. What I think you meant is animation-iteration-count: infinite; this makes the animation go forever
28th Jul 2018, 10:02 AM
TurtleShell
TurtleShell - avatar
+ 1
TurtleShell is translate responsible for moving ?
28th Jul 2018, 10:53 AM
Shimaa
Shimaa - avatar
+ 1
Shimaa Fikry it's the recommended way to animate movement
28th Jul 2018, 11:02 AM
TurtleShell
TurtleShell - avatar
+ 1
MEET MEHTA TurtleShell Doniyorbek Urinboyev it worked and I got it now thanks all ^-^
28th Jul 2018, 11:57 AM
Shimaa
Shimaa - avatar
0
Missed } at line 19 Hope this helps ☺️☺️.
28th Jul 2018, 10:01 AM
Meet Mehta
Meet Mehta - avatar
0
MEET MEHTA fixed it TurtleShell it works thanks alot .. since yesterday and i was hopless 😅😅😅
28th Jul 2018, 10:08 AM
Shimaa
Shimaa - avatar
0
TurtleShell it works with color now i changed it to move and still not working .. what is the wrong now ?
28th Jul 2018, 10:18 AM
Shimaa
Shimaa - avatar
0
Shimaa Fikry use transform: translate(0, 50px);
28th Jul 2018, 10:46 AM
TurtleShell
TurtleShell - avatar