!important

Usage: Highest priority in CSS and IE can not recongize it so sometimes can be used to detect IE and apply different settings.

 

Example 1:
.myclass{
 margin-left:20px!important;
 margin-left:40px;
 
}
 
Result: Value would be 40 in IE, and 20 for other browsers.

 

One thought on “!important

  1. I have read so many content about the blogger lovers however this article is really a good paragraph,
    keep it up.

Comments are closed.