总结:
浮动提升半层,只有在浮动的时候 才需要考虑元素分两层
定位元素提升一层
相对定位会有残留
参考文章:https://blog.csdn.net/houyanhua1/article/details/79558136?depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task
总结:
浮动提升半层,只有在浮动的时候 才需要考虑元素分两层
定位元素提升一层
相对定位会有残留
参考文章:https://blog.csdn.net/houyanhua1/article/details/79558136?depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task