From acac1f92eea6a66319239bf425e7c04637725408 Mon Sep 17 00:00:00 2001 From: Anton Date: Sat, 10 Aug 2024 03:01:18 +0200 Subject: [PATCH] Don't change color inheritance for
--- normalize.css | 8 +++----- opinionated.css | 8 +++----- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/normalize.css b/normalize.css index 80cd22b..7677236 100644 --- a/normalize.css +++ b/normalize.css @@ -39,14 +39,12 @@ } /** - * 1. Add the correct box sizing in Firefox. - * 2. Correct the inheritance of border color in Firefox. + * Add the correct box sizing in Firefox. */ :where(hr) { - box-sizing: content-box; /* 1 */ - color: inherit; /* 2 */ - height: 0; /* 1 */ + box-sizing: content-box; + height: 0; } /* Text-level semantics diff --git a/opinionated.css b/opinionated.css index 0e01393..4046692 100644 --- a/opinionated.css +++ b/opinionated.css @@ -47,14 +47,12 @@ } /** - * 1. Add the correct box sizing in Firefox. - * 2. Correct the inheritance of border color in Firefox. + * Add the correct box sizing in Firefox. */ :where(hr) { - box-sizing: content-box; /* 1 */ - color: inherit; /* 2 */ - height: 0; /* 1 */ + box-sizing: content-box; + height: 0; } /* Text-level semantics