Skip to content

Commit 94520c8

Browse files
authored
Update reset.css
Only nuke margins. Move inherit fonts for input related elements only.
1 parent 625e227 commit 94520c8

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

reset.css

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,19 @@
2020
box-sizing: border-box;
2121
}
2222

23-
/* Nuke default margins and padding. Use default font. */
23+
/* Nuke default margins. */
2424
* {
2525
margin: 0;
26+
}
27+
28+
/* You may want to remove paddings and set min-width for everything too. */
29+
/* * {
2630
padding: 0;
31+
min-width: 0;
32+
} */
33+
34+
/* Inherit fonts for input related elements. */
35+
input, button, textarea, select {
2736
font: inherit;
2837
}
2938

0 commit comments

Comments
 (0)