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

Animation Css

Hi guys! How Can I Made 3 Circle With 3 Direction to move By Css3 !????

26th Jul 2017, 7:22 PM
Ali Afshar
Ali Afshar - avatar
10 Answers
+ 4
Mmmm... Too much long for even one post, so I save it in a code playground instead: https://code.sololearn.com/WysTLAvYYCUx/?ref=app
27th Jul 2017, 4:52 AM
visph
visph - avatar
+ 4
with @keyframes
26th Jul 2017, 8:03 PM
The Coding Sloth
The Coding Sloth - avatar
+ 4
do you have the code?
26th Jul 2017, 10:06 PM
The Coding Sloth
The Coding Sloth - avatar
+ 4
I also tried some keyframes but nothing moved...
26th Jul 2017, 10:39 PM
The Coding Sloth
The Coding Sloth - avatar
+ 3
What have you tried as keyframes rules? And what call you << 3 directions to move >>? Moving them independently from each others isn't a problem, while you animate the properties used in each element specifically to position them (some use 'left' and 'top', others 'bottom' and 'right', or mix of them... this define different axis origins, and that may be respected in animation... in static definition, it may also be taken care that defining more than one position origin by axis will define an implicit width for the element: defining both 'left' and 'right' on a positioned element is interpreted as auto-width size to have a box with left side at 'left' value from the left origin axis, and same for right side: +-----------------------------------------------------+ | | | +--------------+ | | | | | |< left >| |< right > | | |< >| | | +--------------+ | | implicite width | +-----------------------------------------------------+ Try the css styles declaration I will post next (too much characters for only once post), it move infinitly your all 3 circles around viewport, each with different directions at a same time (synchronized all together, but this is not mandatory ^^)...
27th Jul 2017, 4:48 AM
visph
visph - avatar
+ 1
I Know! But Only 1 Circle Was Moved By Keyframes
26th Jul 2017, 9:59 PM
Ali Afshar
Ali Afshar - avatar
+ 1
Yes Bot In My Pc
26th Jul 2017, 10:07 PM
Ali Afshar
Ali Afshar - avatar
26th Jul 2017, 10:13 PM
Ali Afshar
Ali Afshar - avatar
+ 1
This Is My Problem ! When Use Keyframes , Nothing Moved
26th Jul 2017, 10:41 PM
Ali Afshar
Ali Afshar - avatar
+ 1
Yes!!!!!! very Very Thanks For Your Answere! really Solved my Problem ❤️🙏
27th Jul 2017, 8:25 AM
Ali Afshar
Ali Afshar - avatar