2018-11-05 12:24:55 +01:00
|
|
|
---
|
|
|
|
layout: examples
|
|
|
|
title: Sticky Footer Template
|
2019-01-08 17:33:28 +01:00
|
|
|
extra_css:
|
|
|
|
- "sticky-footer.css"
|
2018-11-05 12:24:55 +01:00
|
|
|
html_class: "h-100"
|
|
|
|
body_class: "d-flex flex-column h-100"
|
2019-02-04 22:42:23 +01:00
|
|
|
include_js: false
|
2018-11-05 12:24:55 +01:00
|
|
|
---
|
2013-06-24 02:17:08 +02:00
|
|
|
|
2018-11-05 12:24:55 +01:00
|
|
|
<!-- Begin page content -->
|
|
|
|
<main role="main" class="flex-shrink-0">
|
|
|
|
<div class="container">
|
|
|
|
<h1 class="mt-5">Sticky footer</h1>
|
|
|
|
<p class="lead">Pin a footer to the bottom of the viewport in desktop browsers with this custom HTML and CSS.</p>
|
2019-02-04 11:22:02 +01:00
|
|
|
<p>Use <a href="{{< docsref "/examples/sticky-footer-navbar" >}}">the sticky footer with a fixed navbar</a> if need be, too.</p>
|
2018-11-05 12:24:55 +01:00
|
|
|
</div>
|
|
|
|
</main>
|
2013-06-24 02:17:08 +02:00
|
|
|
|
2019-05-15 10:51:45 +02:00
|
|
|
<footer class="footer mt-auto py-3 bg-light">
|
2018-11-05 12:24:55 +01:00
|
|
|
<div class="container">
|
|
|
|
<span class="text-muted">Place sticky footer content here.</span>
|
|
|
|
</div>
|
|
|
|
</footer>
|