Problem Statement
What does the !important rule do, and when should it be avoided?
Explanation
The '!important' rule forces a CSS property to override all others, regardless of specificity. It should be used rarely because it makes the code harder to maintain. Instead, write clean and specific selectors to control priority.
Code Solution
SolutionRead Only
p { color: blue !important; }Practice Sets
This question appears in the following practice sets:
