From 13cba0aeee87b923c93c609a92ba0a9d30cd8c41 Mon Sep 17 00:00:00 2001 From: Kelvin Ly Date: Tue, 3 Dec 2019 18:11:06 -0500 Subject: [PATCH] Add box-sizing: border-box and try to fix bottom border --- main.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/main.css b/main.css index d0ea474..423987a 100644 --- a/main.css +++ b/main.css @@ -1,3 +1,11 @@ +html { + box-sizing: border-box; +} + +*, *:before, *:after { + box-sizing: inherit; +} + body { margin: 0; background-color: rgb(240, 240, 240); @@ -9,6 +17,7 @@ article { max-width: 1012px; margin-right: auto; margin-left: auto; + padding-bottom: 20em; } nav, footer {