1.

What Is Cascade?

Answer»

CASCADE is a method of DEFINING the weight (importance) of individual styling rules thus allowing conflicting rules to be SORTED out should such rules apply to the same selector. 

Declarations with increased weight take precedence over declaration with NORMAL weight:

P {color: white ! IMPORTANT} /* increased weight */
P (color: black} /* normal weight */

Cascade is a method of defining the weight (importance) of individual styling rules thus allowing conflicting rules to be sorted out should such rules apply to the same selector. 

Declarations with increased weight take precedence over declaration with normal weight:

P {color: white ! important} /* increased weight */
P (color: black} /* normal weight */



Discussion

No Comment Found