Empty tags

Widely available Reference ↗

CMS output sometimes contains empty elements that still carry margins or borders. :empty is a small safety net for those boxes.

p:empty {
  display: none;
}  

:empty only matches elements with no child nodes. A space or line break stored as text is enough to prevent a match, so fixing the source is still preferable.