Force “position: absolute” to be relative to the document and not the parent container

前端 未结 5 1364
遥遥无期
遥遥无期 2020-12-08 12:34

I am trying to insert a div into any part of the body and make its position: absolute relative to the whole document and not a parent element which has a

5条回答
  •  独厮守ぢ
    2020-12-08 13:10

    You will have to place the div outside of the position:relative element and into body.

提交回复
热议问题