Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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.
  • Loading branch information...
commit a336a75dd29e3c1cd2756fc2c8373d860e2b5225 1 parent 6ef5b9e
@necolas necolas authored
Showing with 10 additions and 10 deletions.
  1. +10 −10 normalize.css
View
20 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,19 +68,11 @@ html {
-ms-text-size-adjust: 100%; /* 2 */
}
-/*
- * Addresses margins handled incorrectly in IE6/7
- */
-
-body {
- margin: 0;
-}
-
/*
* Addresses font-family inconsistency between 'textarea' and other form elements.
*/
-body,
+html,
button,
input,
select,
@@ -88,6 +80,14 @@ textarea {
font-family: sans-serif;
}
+/*
+ * Addresses margins handled incorrectly in IE6/7
+ */
+
+body {
+ margin: 0;
+}
+
/* =============================================================================
Links

0 comments on commit a336a75

Please sign in to comment.
Something went wrong with that request. Please try again.