docs: Add a punctation mark on foundations/06/solution.css

This commit is contained in:
Evergard 2024-01-24 10:54:04 +08:00
parent d45cea2854
commit 40915988ad

View File

@ -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 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: Another solution would be to keep the rule where it was and just replace the div selector with the .text selector: