Visibility
Since not every design can be done with block, Instead of toggling visibility none and block with JavaScript ( jQuery ) you can toggle it to flex and grid as well and display design you need.
.hide
{ display: none; }
.show
{ display: block; }
.show-flex
{ display: flex; }
.show-grid
{ display: grid; }