Skip to content

Bit #10

We can use the :empty selector in CSS to hide empty DOM element without JS.

.classname:empty {
display: none;
}