File tree Expand file tree Collapse file tree 1 file changed +4
-14
lines changed
Expand file tree Collapse file tree 1 file changed +4
-14
lines changed Original file line number Diff line number Diff line change @@ -248,14 +248,16 @@ hr {
248248 ========================================================================== */
249249
250250/**
251- * Change font properties to `inherit` in all browsers (opinionated).
251+ * 1. Change font properties to `inherit` in all browsers (opinionated).
252+ * 2. Remove the margin in Firefox and Safari.
252253 */
253254
254255button ,
255256input ,
256257select ,
257258textarea {
258- font : inherit;
259+ font : inherit; /* 1 */
260+ margin : 0 ; /* 2 */
259261}
260262
261263/**
@@ -278,18 +280,6 @@ select { /* 2 */
278280 overflow : visible;
279281}
280282
281- /**
282- * Remove the margin in Safari.
283- * 1. Remove the margin in Firefox and Safari.
284- */
285-
286- button ,
287- input ,
288- select ,
289- textarea { /* 1 */
290- margin : 0 ;
291- }
292-
293283/**
294284 * Remove the inheritance of text transform in Edge, Firefox, and IE.
295285 * 1. Remove the inheritance of text transform in Firefox.
You can’t perform that action at this time.
0 commit comments