Simulate fixed implementation and solve the invalid fixed caused by css transform attribute

后端 未结 0 645
深忆病人
深忆病人 2020-11-30 20:07

.ture-fixed is a fixed element. But its ancestor element .scroll-wrap has transform: translate3d(0, 0, 0); resulting in fixed being actually equivalent to absolute.

B

相关标签:
回答
  • 消灭零回复
提交回复
热议问题