Written by on

The CSS declaration “!important”

The CSS declaration “!important” can be a very useful tool when trying to make changes to CSS. When you use this declaration it tells the web page that this style takes priority over any other styles that are applied to that same object even if that style is declared after the style with the !important declaration, the style with the !important declaration will take higher priority.

Here is an example of how that style would be applied:

.title {

color: #003366 !important;


Here is a link to a site with more information and examples :http://www.yellowjug.com/web-design/the-importance-of-important-in-css/



Sale ends Nov. 30! Save 50% OFF our entire library of WordPress tools Get the coupon