QuickSnip LogoA light blue logo with a thunderbolt in bracketsQuickSnip

Sticky Footer

Ensures the footer always stays at the bottom of the page.

  • layout
  • footer
  • sticky

Code

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

footer {
  margin-top: auto;
}