In my Angular application, I have set up the following structure:
<header></header>
<section>
<div ui-view></div>
</section>
<footer>
My ui-view
utilizes animate.css for bouncing in and out of the screen. The issue I am facing is that during animation, two instances of <div ui-view>
are stacked on top of each other, causing the first instance to be pushed down. Most solutions recommend using position: absolute
, but since the height of ui-view
is unknown beforehand and there is a <footer>
below <div ui-view>
that needs to be displayed, this approach cannot be used.
I want the animation to function as intended, with the <footer>
appearing below the content:
Is there a way to achieve this without relying on position: absolute
? Alternatively, how can I make sure that my <footer>
displays properly?