Answers for "how to hide a div but keep the space"

1

display none but keep space

div {
    visibility: hidden;
    /* visibility: visible */
}
Posted by: Guest on October-30-2020
0

css hide element but conserve space

$(".description").css('visibility', 'hidden');
Posted by: Guest on April-07-2021

Code answers related to "how to hide a div but keep the space"

Browse Popular Code Answers by Language