How to remove an element from the flow?

前端 未结 9 1704
Happy的楠姐
Happy的楠姐 2020-12-24 00:11

I know position: absolute will pop an element from the flow and it stops interacting with its neighbors.

What other ways are there to achieve this?

9条回答
  •  粉色の甜心
    2020-12-24 00:29

    Floating it will reorganise the flow but position: absolute is the only way to completely remove it from the flow of the document.

提交回复
热议问题