From 5ef046fbd0e3e274b4b89dbc61cd9d0485ad9461 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A0=D0=BE=D0=BC=D0=B0=D0=BD=20=D0=91=D1=83=D0=BB=D0=B0?= =?UTF-8?q?=D1=82=D0=BE=D0=B2?= Date: Thu, 24 Mar 2016 00:57:32 +0300 Subject: [PATCH] Combine two same selectors #553 --- normalize.css | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) 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.