display
display is a CSS property in the Layout category. Sets the display behavior of an element. The syntax is display: block | inline | inline-block | flex | grid | none. Accepted values include block, inline, inline-block, flex, grid, none, contents. How the values behave: controls the display behavior: block stacks vertically, inline flows horizontally, flex/grid enable modern layouts. A typical example: display: flex; 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 visibility, which controls whether an element is visible. 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: visibility, overflow, overflow-x, overflow-y, contain, resize, object-fit, object-position.