Get 20% off all career paths from fullstack to AI
Live Online Classes in Design, Coding & AI — Small Classes, Free Retakes
Overview
AI, Data Science & Cloud Certificates from Google, IBM & Meta — 40% Off
One plan covers every Professional Certificate on Coursera. 40% off Coursera Plus Annual.
Unlock All Certificates
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