Mediaocean interview question

How do the CSS selectors specificity hierarchy work