CSS Cascading Guidelines

How CSS Cascades

There are guidelines that will determine which CSS rule takes precedent in the case of a conflict (when 2 or more css rules target the same selector)

  • Last Rule

  • Specificity

  • Important

  • Inheritance