I'm using animate.css for an easy animation. Works fine so far, but what I'm trying to archive is to add 2 classes/animations on one div with a delay.
fadeIn > 3 sec delay > fadeout
This is my div:
<div class="container fadeIn fadeOut">
<h1>Lorem Ipsum</h1>
</div>
And this is my additional CSS to delay the fadeOut:
.fadeOut {
-webkit-animation-delay: 3s;
animation-delay: 3s; }
What's happening now is that the div only fades out after 3 seconds, the fadeIn animation does not work anymore.