visibility
visibility is a CSS property in the Layout category. Controls whether an element is visible. The syntax is visibility: visible | hidden | collapse. Accepted values include visible, hidden, collapse. How the values behave: visible shows the element, hidden hides it but preserves space, collapse removes it entirely (for table rows). A typical example: visibility: hidden; It is commonly applied to markup such as <div class="demo">Sample</div> Browser support: Chrome 1+, Firefox 1+, Safari 1+, Edge 12+. A close relative is display, which sets the display behavior of an element. A close relative is overflow, which controls how overflowing content is displayed. A close relative is overflow-x, which controls horizontal overflow behavior. More about this category: CSS layout properties for positioning and arranging elements on a web page. Related Layout entries: display, overflow, overflow-x, overflow-y, contain, resize, object-fit, object-position.