Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

tailwind push footer always to bottom of screen

<div class="flex flex-col justify-between h-screen">
  <header class="h-16 bg-pink-300">Header</header>
  <main class="mb-auto h-52 bg-purple-300">Main Content</main>
  <footer class="h-16 bg-blue-100">Footer</footer>
</div>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #tailwind #push #footer #bottom #screen
ADD COMMENT
Topic
Name
4+1 =