visibility:hidden;opacity:0元素仍占dom空间





    
    
    
    



    

可见性筛选选择器

:visible/:hidden

display
width height

width/height

visibility opacity

你可能感兴趣的:(visibility:hidden;opacity:0元素仍占dom空间)