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

YouTube

Top CSS Selectors You Should Know - Colt's Code Camp

Colt Steele via YouTube

Overview

Explore essential CSS selectors, combinators, pseudo-classes, and pseudo-elements in this comprehensive 40-minute tutorial. Dive into topics including universal, element, class, and ID selectors, as well as descendant, adjacent, and direct child selectors. Learn about attribute selectors, pseudo-classes like hover, and pseudo-elements such as before and after. Practice your skills with hands-on exercises and access accompanying code examples and homework assignments through the provided CodePen collection.

Syllabus

Intro
Universal Selector
Element Selector
Class Selector
ID Selector
descendant Selector
adjacent Selector
direct Child Selector
Attribute Selector
Pseudo Classes
Hover Pseudo Class
Pseudo Elements
Before After
Before After Examples
Exercise

Taught by

Colt Steele

Reviews

Start your review of Top CSS Selectors You Should Know - Colt's Code Camp

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.