Glubase - share your knowledge


All / Computers / Programming / CSS

  • View Object

What is cascade?

Description

Cascade is a way to define how important a styling rule is in order to sort out rules where conflicting rules apply to the same selector.

The following example shows how to set the importance of a style:

P {font-size: 10px ! important}  /* important */
P (font-size: 12px} /* less important */