1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00
twbs--bootstrap/docs/examples/sticky-footer-navbar/sticky-footer-navbar.css

38 lines
693 B
CSS
Raw Normal View History

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