add css for a "sticky footer"
This commit is contained in:
parent
64ef2e9bcf
commit
f0562b95b7
16
RaceLapTimer/RaceLapTimer/www/css/stickyfooter.css
Normal file
16
RaceLapTimer/RaceLapTimer/www/css/stickyfooter.css
Normal 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;
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user