CSS3 transition/transform/translate3d causes severe flicker on first or last “frame” of the transition (on an iPad)

前端 未结 6 2051
春和景丽
春和景丽 2020-12-24 07:43

All,

I\'m working on a web app specifically for the iPad, and I\'m using a CSS3 transition to animate a div (move it from left to right).

My class looks like

6条回答
  •  一生所求
    2020-12-24 08:33

    I was dealing with the same issue, and I found the solution here on SO: iPhone WebKit CSS animations cause flicker

    It's as simple as adding

    -webkit-backface-visibility: hidden;
    

    and possibly

    -webkit-perspective: 1000;
    

    To each animated object. It worked for me, hope this helps for you too

提交回复
热议问题