Announcement ! important provides a way for the author of a stylish table to give CSS more weight than it naturally has. It should be noted here that the phrase โ! Important declarationโ is a reference to the entire CSS declaration, including the property and value, with! Important added.
Here is a simple code example that clearly illustrates how! it is important to influence the natural way styles are applied:
#example { font-size: 14px !important; } #container #example { font-size: 10px; }
In the above code example, an element with the identifier "example" will have a text size of 14px, due to the addition of an important one.
source share