Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

CSS Combinators You Need to Know - And a Selector Too

Kevin Powell via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn essential CSS combinators and selectors in this 12-minute tutorial that covers the fundamental techniques for targeting HTML elements based on their relationships to other elements. Explore descendant and child combinators to select elements within specific parent containers, master next sibling and subsequent sibling combinators for targeting elements that follow others in the DOM structure, and discover attribute selectors for styling elements based on their HTML attributes. Gain practical knowledge of how these selectors work together to create more precise and efficient CSS targeting strategies, with real-world examples demonstrating when and how to implement each combinator type in your web development projects.

Syllabus

00:00 - Introduction
00:45 - Descendants & Child
02:25 - Next sibling
04:00 - Subsequent siblings
06:22 - Attribute selectors

Taught by

Kevin Powell

Reviews

Start your review of CSS Combinators You Need to Know - And a Selector Too

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.