I have a problem that don't let me sleep.
Assume that I have these divs:
<div class="container">
<div class="sixteen columns">
<div class="dark animated fadeOutRight"><img src="images/dark.gif"></div>
<h2 class="motto">aspettaci...</h2>
</div>
</div>
animated with animate.css (but i think that any animation is good as example).
I want to create a sequence of divs that transit in the page. for example.
div1 -> fade out then
after n seconds div2 -> slide in then
div2 -> slide out then div3 comes and STOP...
I try with delay but its a mess and div2 is always visible on the page. I don't really know how to do this. Maybe I have to move all divs out of the pages, or I can do this in much simply way with jQuery?