Bug with transform: scale and overflow: hidden in Chrome

前端 未结 13 1414
不知归路
不知归路 2020-11-28 03:54

Working with CSS3 property transform: scale, I found interesting issue. I wanted to make a little zoom effect for pictures. But when I used for the parent div <

13条回答
  •  遥遥无期
    2020-11-28 04:37

    transform: translateZ(0); on the wrap element did the trick for me.

    See CSS performance relative to translateZ(0) for more information about this technique.

提交回复
热议问题