Can I do this? An example -
CSS Code
div {
animation-name: test
animation-duration: 5s
}
@keyframes test{
from {background-color: red;}
to {background-color: blue;}
}
Now, how do I make JQuery check if the animation is done? Plus I actually want to do this with a string that appears one word at a time, and then ask JQuery to see if it has completed, and if it has been shown fully then a 5 sec timer starts. Can I do this??
Thanks!
animationendorwebkitAnimationEndevent in js.$('.element').on('animationend webkitAnimationEnd', function() { })