This course has been updated! We now recommend you take the CSS In-Depth, v2 course.

Check out a free preview of the full CSS3 In-Depth course:
The "Pseudo-elements" Lesson is part of the full, CSS3 In-Depth course featured in this preview video. Here's what you'd learn in this lesson:

While pseudo-classes classes select elements that already exist, pseudo-elements create “faux” elements that you can style. Pseudo elements are often indicated by double-colon notation however for IE support, single colons should be used. It’s a good idea to use Selectivizr along with other JavaScript libraries for backward compatibility.

Get Unlimited Access Now