:blank

The :blank pseudo-class represents empty elements, in other words, those that contain no child elements or text. Similar in action to :empty, but :blank, unlike it, considers elements containing white space or line breaks to be empty.

Syntax



element:blank {
  property: value;
}