From 253559bfc8a8c588ccebc0d521a915c5f42d34fd Mon Sep 17 00:00:00 2001 From: Adrian Heine Date: Tue, 22 Sep 2020 11:52:21 +0200 Subject: [PATCH] use flex for body --- index.html | 2 +- style.css | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index c6c9a62..067da55 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ -
+
diff --git a/style.css b/style.css index 8ce632a..0e15793 100644 --- a/style.css +++ b/style.css @@ -8,22 +8,27 @@ src: url("/IMFePIsc29P.ttf"); } - body { background-color: #e1eef2; margin: 0; font-family: "Fell"; hyphens: auto; + display: flex; + flex-direction: column; + height: 100%; + width: 100%; } .wrapper { max-width: 70em; + width: 100%; height: 100%; margin: 0 auto; background-color: #FFC63F; position: relative; box-sizing: border-box; padding: 20px; + flex: 1; } .items {