As long as there is something in the div, the opacity method will work because
opacity: 0 does not change the element's reactive properties while
visibility: hidden directly removes interactivity, and
display: none is completely removed from the layout.