PodRocket - A web development podcast from LogRocket cover image

Styling the intrinsic web with Mia Suzanne

PodRocket - A web development podcast from LogRocket

00:00

The Hierarchy of Selectors

The more targeted our selector is, the more likely we want it to win. Selectors are useful so that we don't have to repeat ourselves all the time in the web. For selecting one paragraph with a specifici, that's probably the highest priority. If fe're selecting just the ones with a certain class name, that's medium priority. I but then in order to determine which selectors take priority, because now i can select the same paragraph in three different ways and givein different colors,. The browser is going to have to choose one of those colors.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app