CSS - !important

CSS !important

The CSS !important rule is used to place utmost importance to CSS values or property such that it overrides any other previous styling for that specific element.

Overriding !important - The only way an !important can be override is by declaring another !important rule with the same or higher level of specificity.

tips
TIP:

Specificity is an algorithm used by browsers which helps to determine the order or mark of CSS style to apply to a specific HTML element.

ADVERTISEMENTS

LEARNING IS A CONTINOUS PROCESS - PRACTICE MAKES PERFECT