From 115221ea340b4a3bc68021ebc922d59f0f1792fb Mon Sep 17 00:00:00 2001 From: Konstantin Obenland Date: Wed, 31 Dec 2014 12:27:05 -0800 Subject: [PATCH] Bring back box-sizing reset. Props @chrisdc. See #674. --- sass/elements/_elements.scss | 4 ++++ style.css | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/sass/elements/_elements.scss b/sass/elements/_elements.scss index 51b7d596..24e08b9c 100644 --- a/sass/elements/_elements.scss +++ b/sass/elements/_elements.scss @@ -1,3 +1,7 @@ +html { + box-sizing: border-box; +} + *, *:before, *:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */ diff --git a/style.css b/style.css index 1f447eb1..880a64e5 100644 --- a/style.css +++ b/style.css @@ -353,6 +353,10 @@ big { /*-------------------------------------------------------------- 3.0 Elements --------------------------------------------------------------*/ +html { + box-sizing: border-box; +} + *, *:before, *:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */