add css for a "sticky footer"

This commit is contained in:
chris.watts90@outlook.com 2017-06-18 19:29:31 +01:00
parent 64ef2e9bcf
commit f0562b95b7

View File

@ -0,0 +1,16 @@
html {
position: relative;
min-height: 100%;
}
body {
/* Margin bottom by footer height */
margin-bottom: 60px;
}
.footer {
position: absolute;
bottom: 0;
width: 100%;
/* Set the fixed height of the footer here */
height: 60px;
background-color: #f5f5f5;
}