The !important CSS declaration

The !important declaration is a keyword that can be added at the end of any CSS property/value to help ensure that the relevant rule is always applied.  Example:


p {margin-left: 5px !important}

Learn more about it in this article by Webcredible: The importance of the !important CSS declaration

Also checkout: What does !important mean in CSS?

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s