CSS3 In-Depth CSS3 In-Depth

Negation and empty pseudo-classes

Estelle Weyl
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