I am trying to place a footer at the bottom .
and it is for some reason coming out like this.
In index.html, I have:
<main flex layout="column">
<div>
<div ui-view="" ></div>
</div>
</main>
<footer>
<md-toolbar class="md-hue-2 md-scroll-shrink">
<div layout="row" layout-align="center center" flex>
Powered by Webocity Technologies
</div>
</md-toolbar>
Sticky or not, this looks wrong. What seems wrong here and how to fix this?
Use position:fixed;bottom:0px;
to display your footer at bottom
footer{
position:fixed;
bottom:0px;
background-color:pink;
width:100%;
}
<main flex layout="column">
<div>
<div ui-view="" ></div>
</div>
</main>
<footer>
<md-toolbar class="md-hue-2 md-scroll-shrink">
<div layout="row" layout-align="center center" flex>
Powered by Webocity Technologies
</div>
</md-toolbar>
</footer>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With