## CSS Cascade and Inheritance and Conflicting Rules

- MDN: term Specificity
- MDN: Cascade and Inheritance - Specificity
- Specifishity.com

### Stylesheet Source

- author stylesheet
- reader (user) stylesheet
- browser (user agent) stylesheet

### Specificity of Selector

- style attribute
- count "id" attributes
- count number of other attributes ("class")
- count element names

### Order

- last occurence has higher specificity

  `@import`-ed stylesheets come before rules in the importing sheet.