I’m using visibility:hidden to hide certain elements, but they still take up space on the page while hidden.

How can I make them totally disappear visually, as though they are not in the DOM at all (but without actually removing them from the DOM)?

17 Answers
17

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *