AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
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.