Sticky footer
The footer sits at the bottom of short pages.
Bootstrap · Sticky footerIntermediate
<!DOCTYPE html>
<html lang="en">
<head><meta charset="utf-8"><title>Sticky footer</title></head>
<body class="d-flex flex-column min-vh-100">
<header class="p-3 border-bottom">Header</header>
<main class="flex-grow-1 container py-4">Content</main>
<footer class="mt-auto py-3 bg-body-tertiary text-center">Footer</footer>
</body>
</html>d-flexflex-columnmin-vh-100mt-auto