[Solved] Css animation optimisation [closed]
If you could detect when the object IS in view port, you could add/remove the css class with the animation description. Something like: // the css class to be added/removed .animationClass { animation: someAnimation 5s; -moz-animation: someAnimation 5s; /* Firefox */ -webkit-animation: someAnimation 5s; /* Safari and Chrome */ -o-animation: someAnimation 5s; /* Opera */ … Read more