css

  • 用will-change或translate代替left

    js

  • 用requestAnimationFrame代替setTimeout或setInterval