From 46dd084240d867dfd38ac86596eb00a511a0a2f7 Mon Sep 17 00:00:00 2001 From: Ben Burwell Date: Sun, 28 Jul 2019 16:34:05 -0400 Subject: Don't overlap footer --- static/ihatecss.css | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/static/ihatecss.css b/static/ihatecss.css index 3e48ac3..6ef2b35 100644 --- a/static/ihatecss.css +++ b/static/ihatecss.css @@ -1,8 +1,10 @@ +body { + min-height: 100vh; + display: flex; + flex-direction: column; +} + #footer { - position:fixed; - left:0px; - bottom:0px; - height:30px; - width:100%; - background:#999; -} \ No newline at end of file + margin-top: auto; + background:#999; +} -- cgit v1.2.3