Skip to content

Commit b4a8fda

Browse files
committed
Revert changes to 'body' and form elements
1 parent 62b4a86 commit b4a8fda

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

normalize.css

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@ html {
1818
/* Sections
1919
========================================================================== */
2020

21+
/**
22+
* Remove the margin in all browsers (opinionated).
23+
*/
24+
25+
body {
26+
margin: 0;
27+
}
28+
2129
/**
2230
* Add the correct display in IE 9-.
2331
*/
@@ -225,15 +233,19 @@ svg:not(:root) {
225233
========================================================================== */
226234

227235
/**
228-
* Remove the margin in Firefox and Safari.
236+
* 1. Change the font styles in all browsers (opinionated).
237+
* 2. Remove the margin in Firefox and Safari.
229238
*/
230239

231240
button,
232241
input,
233242
optgroup,
234243
select,
235244
textarea {
236-
margin: 0;
245+
font-family: sans-serif; /* 1 */
246+
font-size: 100%; /* 1 */
247+
line-height: 1.15; /* 1 */
248+
margin: 0; /* 2 */
237249
}
238250

239251
/**

0 commit comments

Comments
 (0)