Odd “shaking” effect when animating width with jQuery (only in Chrome!)

前端 未结 5 2414
名媛妹妹
名媛妹妹 2021-02-15 23:26

I\'m animating the width of a li element using jQuery in a simple snippet of code. I\'m using hover() as the handler and .animate() to ani

5条回答
  •  囚心锁ツ
    2021-02-16 00:03

    I was looking to this issue as well and this: -webkit-backface-visibility: hidden; solve my problem. I add this odd shaking while using CSS3 transform on a SVG.

    More info can be found here: CSS3 transform rotate causing 1px shift in Chrome

    Hope it helps

提交回复
热议问题