Fixing Motion Performance

Fix animation jank and layout thrashing — compositor-only properties, will-change hints, avoiding layout-triggering CSS, GPU layer promotion, requestAnimationFrame usage, reduced-motion support, and auditing with DevTools Performance panel. Use when asked to "animation is janky", "fix animation performance", "layout thrashing", "GPU acceleration", "will-change", "compositor layer", "60fps animations", "CSS animation vs JS animation", "prefers-reduced-motion", "scroll performance", or "why is my transition slow". Do NOT use for: accessibility of motion — see fixing-accessibility. Do NOT use for: designing animation curves and timing — see motion-design.

yanacuti1121 25a8f2b 6.8 KB Updated 2 repo stars

File contents

yanacuti1121/Yana-AI/tree/main/core/skills/fixing-motion-performance commit 25a8f2ba42

Frequently asked questions

npx skillmds add yanacuti1121/fixing-motion-performance