Module 4 - Lesson 2

Pseudo-elements

This is a very important lesson because understanding the pseudo-elements opens up many possibilities for editing website content. This is a CSS feature, which, in short, allows us to add new content to our HTML structure.

There are quite a few different pseudo-elements in CSS, but this video covers the ones which are fully supported by all browsers, and that is ::before, ::after, and ::selection.

Video Chapters

00:00 Introduction

00:37 Syntax

02:51 Before and After Elements

06:30 Quotes Example

11:26 Heading Example

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.