I made a footer element sticked to the bottom of the page. but, if there is excess elements present in the container. footer element overlaps the container. fiddle link attached here
<div>
<p>Helloworld</p>
<p>Helloworld</p>
<p>Helloworld</p>
<p>Helloworld</p>
<p>Helloworld</p>
<p>Helloworld</p>
.....
</div>
<footer>
<h1>Footer Content</h1>
</footer>
Here i have bunch of <p>
tags, but footer
element overlaps few of the p
element.
I don't know what went wrong.
` tags. https://jsfiddle.net/emkx5wLq/2/
– htoniv Apr 01 '21 at 02:50