“position: fixed” div is not fixed when parent rotates or translates

前端 未结 1 2044
情歌与酒
情歌与酒 2021-01-01 13:58

A div with \"position: fixed\" is embedded into a parent div. When the parent rotates or translates, the child div moves

相关标签:
1条回答
  • 2021-01-01 14:24

    This is a repost, the answer is located in this original question

    Positions fixed doesn't work when using -webkit-transform

    Unfortunately it is a bug, but there seems to be a way to get around it.

    0 讨论(0)
提交回复
热议问题