+1 vote
in CSS by
What does important mean in CSS?

1 Answer

0 votes
by

The style is having the important will have the highest precedence and it overrides the cascaded property.

 p {

  color: red !important;

 }

 #thing {

  color: green;

 }

 

 <p id="thing">Will be RED.</p>

Related questions

+1 vote
asked Aug 17, 2020 in HTML by RShastri
+1 vote
asked Jul 7, 2021 in CSS by rajeshsharma
...