CSS Specificity

Hello everyone. Please what is the specificity for this selector, h1 + p::first-letter? MDN says it is 3. I think it should be 1.

This tool is great for visualizing and comparing specificites. According to it, h1 + p::first-letter has specificity of 3 for elements and pseudo-classes.


1 Like