CSS不再占用原先位置的几种情形总结

1,元素为浮动时(float)

2,元素被设置为绝对定位时(absolute)

3,元素被设置为固定定位时(fixed)

4,元素的display属性为设置为none隐藏时(display:none)

原文地址:https://www.cnblogs.com/JeffreyZhu/p/15151847.html