The examples include :first-line, which is a pseudo-element not a pseudo-class. And pseudo-classes have a higher priority. So the first rule has a specificity of 0-0-1-1, and the second is 0-0-0-4. So the first one takes priority (when the hover is active).
Re: Danger, Will Robinson!
The examples include
:first-line
, which is a pseudo-element not a pseudo-class. And pseudo-classes have a higher priority. So the first rule has a specificity of 0-0-1-1, and the second is 0-0-0-4. So the first one takes priority (when the hover is active).