How to remove an element from the flow?

前端 未结 9 1730
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:51

    For the sake of completeness: The float property removes a element from the flow of the HTML too, e.g.

    float: right
    

提交回复
热议问题