Skip to content

Commit 5ef046f

Browse files
Роман БулатовРоман Булатов
authored andcommitted
Combine two same selectors necolas#553
1 parent f84aad3 commit 5ef046f

File tree

1 file changed

+4
-14
lines changed

1 file changed

+4
-14
lines changed

normalize.css

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff 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

254255
button,
255256
input,
256257
select,
257258
textarea {
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.

0 commit comments

Comments
 (0)