fix(footer): stuck footer bottom
authorrick <rick@gnous.eu>
Fri, 24 Dec 2021 11:59:33 +0000 (12:59 +0100)
committerrick <rick@gnous.eu>
Fri, 24 Dec 2021 11:59:33 +0000 (12:59 +0100)
css/style.css

index c9cdf6274fe7f1b63df5af4cbaf878b9c99ffd12..45f75e23e16ebc833c28f5d402b620b222f76c91 100644 (file)
@@ -1,5 +1,8 @@
 body {
   margin: 0;
+  display: flex;
+  flex-direction: column;
+  min-height: 100vh;
 }
 
 header {
@@ -16,6 +19,7 @@ header a {
   margin-top: 5em;
   margin-bottom: 5em;
   width: 50%;
+  flex: 1;
 }
 
 footer {