From 40915988ad350d82c0c09d696a6e262738d563ba Mon Sep 17 00:00:00 2001 From: Evergard Date: Wed, 24 Jan 2024 10:54:04 +0800 Subject: [PATCH] docs: Add a punctation mark on foundations/06/solution.css --- foundations/06-cascade-fix/solution/solution.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/foundations/06-cascade-fix/solution/solution.css b/foundations/06-cascade-fix/solution/solution.css index 4d0138c..8dfe5f7 100644 --- a/foundations/06-cascade-fix/solution/solution.css +++ b/foundations/06-cascade-fix/solution/solution.css @@ -85,7 +85,7 @@ div.text { } Then we added another selector to create a descendant combinator. If we only created a descendant combinator, the specificity would be tied with the - div.text selector and it would come down to rule order, and if we only moved it the div.text selector would still have a higher specificity. + div.text selector and it would come down to rule order, and if we only moved it, the div.text selector would still have a higher specificity. Another solution would be to keep the rule where it was and just replace the div selector with the .text selector: