I have the following div
<div class="description">Some text here </div>
Then I have a click function on an element to hide the above div:
When I hide the div it will collapse (stop taking any space). This is messing with the layout of my page.
Is there a way I can hide the div but still take the space that it was taking before? I dont want to change the font color because it would be still selectable.