
3: Specificity
The CSS Podcast
00:00
CSS Podcast - How to Gain Specificity in CSS
If I've got an anchor that has the law class on it four times, what's my specificity of that anchor? Four times. So then if you have four classes, regardless of what they are, that's a specificity of 40. And then you're applying that also to an element which has specificity of one. That is correct. Nice. Well, I don't have any more questions for you. We feel like that was a pretty solid game. You scored well. Maybe go back and check it out again. Have fun moving boxes around the screen.
Transcript
Play full episode