CSS to hide and display elements

Three common ways

the display 
    the display: none hidden object 
    display: block addition is converted into block-level element other than, as well as the display meaning the element 
    characteristics: Hide After no reserved locations 

visibility 
    value hidden: the hidden also retains the position 
    values visible: object visualization 

overflow 
    retrieve or set when how to manage the content of the object content exceeds the specified height and width of its 
    visible: the content is not cut nor add a scroll bar 
    auto: beyond auto sliders, scroll bars without departing not 
    hidden: not displaying content than target size, excess all part of the hide (overflow hide) 
    the scroll: Whether or not beyond the content, always show scrollbars

 

Guess you like

Origin www.cnblogs.com/guniang/p/11935626.html