Css! Introduction to important usage and cssimpant ant usage
Css! Important usage:
! Important can increase the weight of css statements. The following is a brief introduction through code examples.
Some of its browser compatibility problems are found in the wonderful IE 6 browser, but the problem is not big, because IE6 users will become fewer and fewer in the future.
The Code is as follows:
<! DOCTYPE html>
In the above Code, if you do not use it! If important is used, the background color is blue, because the following statement will overwrite the previous one, but if you use it! Important will increase the weight of the response statement. For more information about IE6 compatibility, see CSS! Important syntax rule 1.
The original address is: http://www.softwhy.com/forum.php? Mod = viewthread & tid = 15084.
For more information, see: http://www.softwhy.com/divcss/