0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-10 03:46:13 +01:00

29 lines
613 B
CSS
Raw Normal View History

2017-08-10 21:04:59 -07:00
/* Sticky footer styles
-------------------------------------------------- */
html {
position: relative;
min-height: 100%;
}
body {
2017-10-19 12:22:00 -07:00
margin-bottom: 60px; /* Margin bottom by footer height */
2017-08-10 21:04:59 -07:00
}
.footer {
position: absolute;
bottom: 0;
width: 100%;
2017-10-19 12:22:00 -07:00
height: 60px; /* Set the fixed height of the footer here */
2017-08-10 21:04:59 -07:00
line-height: 60px; /* Vertically center the text there */
background-color: #f5f5f5;
}
/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */
.container {
width: auto;
max-width: 680px;
padding: 0 15px;
}