The main principle of CSS is the inheritance of declarations.
Once the rules are checked against the source document, the matched
declarations are sorted according to the priority order of the rules.
The declarations are merged, with higher priority settings overriding
lower ones in case of conflict.
The resulting set of key-value pairs represents all the
declarations that the style sheet applies to a particular document.