I've recently started working with CSS and came across this link where a table defining the specificity values have been mentioned. While implementing this, 11 element selectors must have a specificity of 11 and one class must have a specificity of 10, the priority of class was more than the element selectors even though it had a greater total specificity. I'm a little confused as to how this is calculated.
Asked
Active
Viewed 74 times
1 Answers
2
This was a doubt which i had faced when i had started working with CSS. But this link will help you.
Good luck learning CSS!

Ankita Chatterjee
- 165
- 6