60fps Animation

修卡顿动画:把逐帧触发重排/重绘的动画属性(width/height/top/left/margin/padding/box-shadow/filter)改成 transform/opacity,含 FLIP、height auto、滚动与 hover 抖动的排查与改法。当用户说「动画卡顿」「掉帧」「抖动」「怎么做到 60fps」时使用。This skill should be used when the user asks to "fix janky CSS animation", "make animation 60fps", "stop layout thrashing", "animate width/height/top/left smoothly", "convert animation to transform", "animate box-shadow performantly", "animate height auto", "FLIP animation", or "why is my scroll/hover animation choppy".

Practice019 1567bd9 3 files · 15.5 KB Updated

File contents

Practice019/agent-skills/tree/main/60fps-animation commit 1567bd9b8b

Frequently asked questions

npx skillmds@latest add practice019/60fps-animation