Is there a CSS parent selector? ... Can do a "has children" selector object:not(: empty) { display: none; } ...
stackoverflow.com