From f0562b95b7353be579017aba53f55427e8eaf22b Mon Sep 17 00:00:00 2001 From: "chris.watts90@outlook.com" Date: Sun, 18 Jun 2017 19:29:31 +0100 Subject: [PATCH] add css for a "sticky footer" --- .../RaceLapTimer/www/css/stickyfooter.css | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 RaceLapTimer/RaceLapTimer/www/css/stickyfooter.css diff --git a/RaceLapTimer/RaceLapTimer/www/css/stickyfooter.css b/RaceLapTimer/RaceLapTimer/www/css/stickyfooter.css new file mode 100644 index 0000000..74a96c5 --- /dev/null +++ b/RaceLapTimer/RaceLapTimer/www/css/stickyfooter.css @@ -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; +} \ No newline at end of file