Improving CSS3 transition performance

后端 未结 4 1532
别跟我提以往
别跟我提以往 2020-12-04 10:25

Does anyone have cheats or tips for how to improve the smoothness of CSS3 animation? I\'m sliding the entire page to the left using a css transition and it\'s a bit more jut

4条回答
  •  -上瘾入骨i
    2020-12-04 11:05

    From what I've read, drop shadows are one of the biggest performance hits at the moment. You could try adding/remove a class at the start/end of the animation to disable all the shadows for a moment, and fade them back in after the movements.

提交回复
热议问题