Hint cho browser chuẩn bị trước cho animation/transition. will-change: transform tạo composite layer riêng, dùng GPU.
- Chỉ dùng khi thực sự cần, xóa khi animation xong.
- Lạm dụng tốn memory.
Hints to the browser to prepare for an upcoming animation or transition. will-change: transform creates a separate compositing layer, offloading to the GPU.
- Only use it when truly necessary, and remove it after the animation finishes.
- Overuse wastes memory.