0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-04 16:24:22 +01:00
Bootstrap/docs/examples/sticky-footer-navbar/sticky-footer-navbar.css

40 lines
678 B
CSS
Raw Normal View History

/* Sticky footer styles
-------------------------------------------------- */
2014-02-04 13:56:42 +01:00
html {
position: relative;
2014-01-31 13:20:33 +01:00
min-height: 100%;
}
2014-02-04 13:56:42 +01:00
body {
/* Margin bottom by footer height */
margin-bottom: 60px;
}
#footer {
2014-02-04 13:56:42 +01:00
position: absolute;
bottom: 0;
width: 100%;
/* Set the fixed height of the footer here */
height: 60px;
background-color: #f5f5f5;
}
/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */
2014-02-04 13:56:42 +01:00
body > .container {
padding: 60px 15px 0;
}
.container .text-muted {
margin: 20px 0;
}
#footer > .container {
padding-right: 15px;
2014-01-31 13:20:33 +01:00
padding-left: 15px;
}
code {
font-size: 80%;
}