diff --git a/normalize.css b/normalize.css index 4b53ec5..b340fb7 100644 --- a/normalize.css +++ b/normalize.css @@ -248,14 +248,16 @@ hr { ========================================================================== */ /** - * Change font properties to `inherit` in all browsers (opinionated). + * 1. Change font properties to `inherit` in all browsers (opinionated). + * 2. Remove the margin in Firefox and Safari. */ button, input, select, textarea { - font: inherit; + font: inherit; /* 1 */ + margin: 0; /* 2 */ } /** @@ -278,18 +280,6 @@ select { /* 2 */ overflow: visible; } -/** - * Remove the margin in Safari. - * 1. Remove the margin in Firefox and Safari. - */ - -button, -input, -select, -textarea { /* 1 */ - margin: 0; -} - /** * Remove the inheritance of text transform in Edge, Firefox, and IE. * 1. Remove the inheritance of text transform in Firefox.