mirror of
https://github.com/necolas/normalize.css.git
synced 2024-12-25 15:14:19 +00:00
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.
This commit is contained in:
parent
6ef5b9e78a
commit
a336a75dd2
20
normalize.css
vendored
20
normalize.css
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user