Module 3 - Lesson 5

CSS Pseudo-classes

In this lesson, I’ll give you an overview of pseudo-classes in CSS – selectors that select elements that are in a specific state – for example, they are the first element of their type, or they are being hovered over by the mouse pointer.

Video Chapters

00:00 Introduction

00:47 Pseudo-class Syntax

02:40 :active

03:19 :hover

04:47 :first-child

05:48 :first-of-type

06:54 :nth-child(n)

07:45 :nth-last-child(n)

08:00 :last-child

08:09 :last-of-type

Action Items

Join the discussion

Share your thoughts about this lesson with fellow students!

Login to your Account

If you're a DSA Student, please log in to your account to access the course content.

Sorry, you don't have access to this content.

It looks like you're not enrolled in Divi Stylist Academy.