Inheritance and specificity
CSS styles can be inherited from the ancestor to descendant elements.
applying the styles to parent elements will be inherited to all desendants.
Properties that can not be inherited.
Specificity determines how browsers decide which css rule takes precedence.
Precedence from lower to higher.
- universal (*)
- type (p)
- class (.example)
- id (#example)