transform作用的元素增加translateZ,父级元素增加 transform-style: preserve-3d;

<div class="father">
    <div class="child"></div>
</div>

style {
    .father {
        transform-style: preserve-3d;  
    }
   .child {
       transform: translateZ(1px);
   }
}

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-30
  • 2021-06-02
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-18
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-11
  • 2021-09-06
  • 2021-09-26
  • 2022-12-23
相关资源
相似解决方案