DEV Community

Discussion on: Sticky Footer using Tailwind CSS

Collapse
 
alihvs profile image
Ali Havasi • Edited

Thanks a bunch!

This method works if you want to push your footer to the bottom of the page. But once the content gets taller than the height of the container, the footer will also be pushed down.
Adding fixed bottom-0 w-full utility classes to the footer works, but the problem is I can't get the z-index working properly for some reason. Any idea what I'm doing wrong?