+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>

...