2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-17 19:21:23 +03:00

fixes #18293: clean up sticky stuff

This commit is contained in:
Mark Otto
2015-12-07 22:05:37 -08:00
parent 5a6a128728
commit 3d45bd6106
4 changed files with 36 additions and 40 deletions
+2 -2
View File
@@ -22,7 +22,7 @@
<!-- Begin page content -->
<div class="container">
<div class="page-header">
<div class="page-header m-t">
<h1>Sticky footer</h1>
</div>
<p class="lead">Pin a fixed-height footer to the bottom of the viewport in desktop browsers with this custom HTML and CSS.</p>
@@ -31,7 +31,7 @@
<footer class="footer">
<div class="container">
<p class="text-muted">Place sticky footer content here.</p>
<span class="text-muted">Place sticky footer content here.</span>
</div>
</footer>
@@ -14,6 +14,7 @@ body {
width: 100%;
/* Set the fixed height of the footer here */
height: 60px;
line-height: 60px; /* Vertically center the text there */
background-color: #f5f5f5;
}
@@ -27,6 +28,3 @@ body {
max-width: 680px;
padding: 0 15px;
}
.container .text-muted {
margin: 20px 0;
}