AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
Introduction
In our last episode, we talked about all the different ways you can select elements in order to apply style declarations. But what happens when multiple selectors target the same subject? The browser needs a way to resolve this conflict and it does so with a calculation called specificity. Think of specificity like a way to determine which selector's intent is more specific than another. And let's talk about these points, talk about how the game works, and then play a game.