hardware acceleration
Letting the computer's graphics chip do drawing work, which makes animations of properties such as transform and opacity smooth.
In more detail
Browsers can animate transform and opacity without recalculating layout, often on the graphics chip. Animating width, height or top usually forces layout work on every frame and can stutter.
Related terms
- CSS transition — A CSS feature that animates a property smoothly from one value to another over a set time when it changes.
- CSS transform — The CSS property that moves, rotates, scales or skews an element without changing the layout around it.
Taught in
- CSS Custom Properties & Dynamic Theming Architecture — Design Systems & Component Engineering