Is it possible to hide only the parent element of a child element without hiding the child element itself? I attempted to achieve this by using the following code:
<div class="bordered">
<div class="banner-outer">
<span class="text">My text content</span>
</div>
</div>
However, when I try to show the child element with the code below, the innermost element .text
remains hidden due to the parent element being hidden. Is there a way to only display the child element?