Web Development
HTML/CSS
Subjective
May 19, 2013
What is cascade?
Detailed Explanation
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 (0)
No comments yet. Be the first to share your thoughts!
Share Your Thoughts