I have this HTML code
<div class="icon-dropdown-menu">
<a class="text-left"><span class="icon-folder"></span> <span id="folder-dropdown-parent"></span></a>
<a class="text-left"><span class="icon-folder"></span> <span id="folder-dropdown-grand-parent"></span></a>
<a class="text-left"><span class="icon-folder"></span> <span id="folder-dropdown-root">root</span></a>
</div>
Is it possible with CSS to be able to hide, e.g. display: none
the anchor tag here if the inner span text is empty? Like in the HTML above, the first two a
tags should be hidden through CSS.