为了提升动画性能,在body上加上了transform:translate3d(0,0,0)

但是3d使得新建了一个层(具体原因请参考:高性能css动画),导致position:fixed不在当前的层上。

所以要在需要的地方设置3D!

相关文章:

  • 2022-12-23
  • 2022-01-29
  • 2021-06-12
  • 2022-12-23
  • 2022-12-23
  • 2021-12-09
  • 2021-12-18
  • 2021-08-18
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-07
相关资源
相似解决方案