Menu Home

empty

osbo.com | CSS | Pseudo-Classes | empty

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

Syntax

selector:empty {
    property: value;
}

Examples

World Wide Web Consortium (W3C)