From 28ed7926bd826803ac603435881c70834c77a282 Mon Sep 17 00:00:00 2001 From: Stephan Date: Thu, 12 Jan 2017 20:53:18 +0100 Subject: [PATCH] new box-sizing --- basic/_sections.scss | 13 +++++++------ example.css | 13 ++++++------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/basic/_sections.scss b/basic/_sections.scss index 48c8a45..2143634 100644 --- a/basic/_sections.scss +++ b/basic/_sections.scss @@ -3,14 +3,8 @@ html { height: 100%; - box-sizing: border-box; } -*, -::before, -::after { - box-sizing: inherit; -} @@ -18,11 +12,18 @@ html { // ----------------------------------------------------------------------------- body { + box-sizing: border-box; font-family: $primary_font_family; font-size: $basic_size; line-height: $basic_line; color: $basic_font_color; background-color: $basic_background_color; + + *, + ::before, + ::after { + box-sizing: inherit; + } } article { diff --git a/example.css b/example.css index 0fb981a..03c6ebd 100644 --- a/example.css +++ b/example.css @@ -272,20 +272,19 @@ h5 { text-align: left !important; } html { - height: 100%; - box-sizing: border-box; } - -*, -::before, -::after { - box-sizing: inherit; } + height: 100%; } body { + box-sizing: border-box; font-family: Trebuchet MS, Helvetica, Arial, sans-serif, sans; font-size: 15px; line-height: 1; color: black; background-color: gray; } + body *, + body ::before, + body ::after { + box-sizing: inherit; } aside.right + section { margin-right: calc(20% + 8px); }