Sticky footer
This commit is contained in:
@@ -1,6 +1,16 @@
|
||||
/* Go crazy with your own styles here */
|
||||
/* EDITOR PROPERTIES - PLEASE DON'T DELETE THIS LINE TO AVOID DUPLICATE PROPERTIES */
|
||||
|
||||
html {
|
||||
position: relative;
|
||||
min-height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
/* Margin bottom by footer height */
|
||||
margin-bottom: 60px;
|
||||
}
|
||||
|
||||
body header {
|
||||
padding: 15px 0;
|
||||
}
|
||||
@@ -40,8 +50,13 @@ i {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
footer {
|
||||
margin-top: 24px !important;
|
||||
.footer {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
/* Set the fixed height of the footer here */
|
||||
height: 60px;
|
||||
line-height: 60px; /* Vertically center the text there */
|
||||
}
|
||||
|
||||
.row-no-padding {
|
||||
|
||||
Reference in New Issue
Block a user