0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-14 02:24:00 +01:00
Bootstrap/docs/4.0/examples/sticky-footer/sticky-footer.css

29 lines
613 B
CSS
Raw Normal View History

2017-08-11 06:04:59 +02:00
/* Sticky footer styles
-------------------------------------------------- */
html {
position: relative;
min-height: 100%;
}
body {
2017-10-19 21:22:00 +02:00
margin-bottom: 60px; /* Margin bottom by footer height */
2017-08-11 06:04:59 +02:00
}
.footer {
position: absolute;
bottom: 0;
width: 100%;
2017-10-19 21:22:00 +02:00
height: 60px; /* Set the fixed height of the footer here */
2017-08-11 06:04:59 +02: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;
}