.lead { color: #0f766e; }\np { color: #64748b; }The lead paragraph remains teal because the class has higher specificity.
LESSON 16 OF 100
Use class specificity for a highlighted paragraph.
A class selector has higher specificity than a type selector, so .lead can win even when the p rule appears later.
.lead { color: #0f766e; }\np { color: #64748b; }The lead paragraph remains teal because the class has higher specificity.
p { color: #0f766e; }\np { color: #64748b; }Specificity is tied, so the final grey rule wins.
Complete the .lead rule with #0f766e and keep the p rule after it.
The class wins through specificity, not by moving the rule to the end.
ANALYSIS REQUEST
The initial discussion is without obligation. You receive an honest recommendation, suitable stages and the factors that affect price.