The CSS Podcast cover image

2: Selectors

The CSS Podcast

00:00

Using a Child Combinator

The direct descendant is a great one or the child combinator rather. I call it like a recursion buster in that every time that you put this little greater than sign between two simple selectors. The next type of combinator is called a sibling combinator to be more specific. This would apply to an element that's the next sibling of the one before it. One example that I really like is called the lobotomized owl hack slash method.

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