CSS3 In-Depth

CSS3 In-Depth Negation and empty pseudo-classes


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 "Negation and empty pseudo-classes" Lesson is part of the full, CSS3 In-Depth course featured in this preview video. Here's what you'd learn in this lesson:

The negation pseudo-class can add exclusion to a CSS rule. The empty pseudo-class, used more rarely, will match any element that doesn’t contain any content or whose content is only an HTML comment.

Get Unlimited Access Now