跳转至

position

顶替如fixed这样脱离文档流

  • https://juejin.cn/post/6986935474635931656
    • 其实用一个元素顶替的方案不需要relative,只需要和脱离的元素大小一样即可