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

Animation Syncing

Hey, I'm having a lot of problem in syncing the animations .... Can anyone suggest How to sync the animations given to *different block*?? For example that I've two <div> tags with classes named "one" and "two" .And I've designed animations for each class.... Now, I want that the animation of "one" should be followed by animation of "two"......but I don't know how to do that.... Please can anyone help me with this

5th Mar 2018, 8:50 AM
Akshat Vira
Akshat Vira - avatar
9 Answers
+ 6
hover on hour div and all three div animates https://code.sololearn.com/Wc62JSyagtpf/?ref=app
5th Mar 2018, 10:13 AM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
+ 5
~ is used for sibling selectors.. and # is used for id
5th Mar 2018, 10:33 AM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
+ 3
you mean when the first animation stops then the other one starts.. it would be easier if you could add your code here...
5th Mar 2018, 9:21 AM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
+ 3
In this code, I want to add an effect like when we hover the hour's circle , all the 3 circles rotate one after the other...like when hour's circle stops rotating the minutes circle should rotate and then the seconds circle https://code.sololearn.com/W6drP2DrOQdU/?ref=app
5th Mar 2018, 9:58 AM
Akshat Vira
Akshat Vira - avatar
+ 3
we use these as selectors.. . is used to select the classes, and # is used to select the unique id
5th Mar 2018, 10:37 AM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
+ 2
@Sami Khan. Thanks...😊
5th Mar 2018, 10:38 AM
Akshat Vira
Akshat Vira - avatar
+ 1
Woah...that's what I wanted
5th Mar 2018, 10:24 AM
Akshat Vira
Akshat Vira - avatar
+ 1
Hey, can u explain the use of # before className during hover and...."~" symbol
5th Mar 2018, 10:25 AM
Akshat Vira
Akshat Vira - avatar
+ 1
So, while giving effects to an id we should use # before it's name , same as when we define an id.
5th Mar 2018, 10:36 AM
Akshat Vira
Akshat Vira - avatar