+ 9

Can a single element have multiple animations?

i tried giving a div 2 different animations, the former doesn't work unless i comment the other out. Can someone please explain?

24th Dec 2018, 9:28 AM
Nyakotey🇬🇭🎹
Nyakotey🇬🇭🎹 - avatar
5 Respuestas
+ 3
i just learnt from the links shared that all i had to do was use a comma to separate them rather than writing it differently for each animation
24th Dec 2018, 1:25 PM
Nyakotey🇬🇭🎹
Nyakotey🇬🇭🎹 - avatar
+ 9
You could use css pseudo element :after or :before to achieve multiple animation. Here some examples, https://code.sololearn.com/Wo7rK35NF7C2/?ref=app https://code.sololearn.com/WVQ836QfBpur/?ref=app
24th Dec 2018, 12:05 PM
Calviղ
Calviղ - avatar
+ 2
24th Dec 2018, 1:22 PM
Nyakotey🇬🇭🎹
Nyakotey🇬🇭🎹 - avatar