Web features explorer

:empty

Widely available since 2018-01-29
Tags: css Groups: CSS > Selectors

The :empty CSS pseudo-class matches elements without child elements.

Learning resources on MDN

Browser support