empty

The empty CSS pseudo-class represents an element that has no children.

Syntax

selector:empty
{
    property: value;
}

Examples

World Wide Web Consortium (W3C)

Home Menu