Static elements after position:absolute

前端 未结 4 1359
你的背包
你的背包 2020-12-12 07:11

I have the following markup:



    
4条回答
  •  执笔经年
    2020-12-12 07:31

    I think the problem is that when you have elements positioned absolutely, they are taken out of the document flow. So the elements that come after can't see them, assume they aren't there, and jump up. To just get your "bottom" div to be under your "left"/"right" divs, you have to give it a margin-top equal to their heights (or something similar to that).

提交回复
热议问题