Is there a way to conceal an entire division if a part of it is void? For instance, if "dd" is empty as indicated below, can I hide the entire class "test" so that the keyword Restrictions does not display either? I attempted .test dd:empty { display: none; } but that method did not produce any results. Thank you!
<div class="test"><dt>Restrictions:</dt>
<dd></dd></div>