mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-14 02:24:00 +01:00
48 lines
2.0 KiB
HTML
48 lines
2.0 KiB
HTML
|
<!doctype html>
|
||
|
<html lang="en" class="h-100">
|
||
|
<head>
|
||
|
<meta charset="utf-8">
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||
|
<meta name="description" content="">
|
||
|
<meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors">
|
||
|
<meta name="generator" content="Jekyll v3.8.5">
|
||
|
<title>Sticky Footer Template · Bootstrap</title>
|
||
|
|
||
|
<!-- Bootstrap core CSS -->
|
||
|
<link href="/docs/4.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" crossorigin="anonymous">
|
||
|
|
||
|
|
||
|
<style>
|
||
|
.bd-placeholder-img {
|
||
|
font-size: 1.125rem;
|
||
|
text-anchor: middle;
|
||
|
}
|
||
|
|
||
|
@media (min-width: 768px) {
|
||
|
.bd-placeholder-img-lg {
|
||
|
font-size: 3.5rem;
|
||
|
}
|
||
|
}
|
||
|
</style>
|
||
|
<!-- Custom styles for this template -->
|
||
|
<link href="sticky-footer.css" rel="stylesheet">
|
||
|
</head>
|
||
|
<body class="d-flex flex-column h-100">
|
||
|
<!-- 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>
|
||
|
<p>Use <a href="/docs/4.2/examples/sticky-footer-navbar/">the sticky footer with a fixed navbar</a> if need be, too.</p>
|
||
|
</div>
|
||
|
</main>
|
||
|
|
||
|
<footer class="footer mt-auto py-3">
|
||
|
<div class="container">
|
||
|
<span class="text-muted">Place sticky footer content here.</span>
|
||
|
</div>
|
||
|
</footer>
|
||
|
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
|
||
|
<script>window.jQuery || document.write('<script src="/docs/4.2/assets/js/vendor/jquery-slim.min.js"><\/script>')</script><script src="/docs/4.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-zDnhMsjVZfS3hiP7oCBRmfjkQC4fzxVxFhBx8Hkz2aZX8gEvA/jsP3eXRCvzTofP" crossorigin="anonymous"></script></body>
|
||
|
</html>
|