From a336a75dd29e3c1cd2756fc2c8373d860e2b5225 Mon Sep 17 00:00:00 2001 From: Nicolas Gallagher Date: Sun, 22 Jan 2012 23:00:38 +0000 Subject: [PATCH] Move font-family normalization from `body` to `html`. Close #62 Prevents the inability to override the font-family by setting it on the `html` element later in the CSS. --- normalize.css | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/normalize.css b/normalize.css index 2a0f5a9..367436b 100644 --- a/normalize.css +++ b/normalize.css @@ -1,4 +1,4 @@ -/*! normalize.css 2012-01-22T22:44 UTC - http://github.com/necolas/normalize.css */ +/*! normalize.css 2012-01-22T23:00 UTC - http://github.com/necolas/normalize.css */ /* ============================================================================= HTML5 display definitions @@ -68,6 +68,18 @@ html { -ms-text-size-adjust: 100%; /* 2 */ } +/* + * Addresses font-family inconsistency between 'textarea' and other form elements. + */ + +html, +button, +input, +select, +textarea { + font-family: sans-serif; +} + /* * Addresses margins handled incorrectly in IE6/7 */ @@ -76,18 +88,6 @@ body { margin: 0; } -/* - * Addresses font-family inconsistency between 'textarea' and other form elements. - */ - -body, -button, -input, -select, -textarea { - font-family: sans-serif; -} - /* ============================================================================= Links