How to remove redundant space below, to the project?
The reason for this problem is that you set the visibility property to "hidden".
An element can be hidden by setting the display property to "none" or the visibility property to "hidden".
Note, however, that these two methods will produce different results.
visibility:hidden can hide an element, but the hidden element still needs to occupy the same space as before.
display:none can hide an element, and the hidden element will not take up any space.
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
5 people are following this question.