Animation Frame Rate
The number of frames per second an animation is rendered at, typically tied to the screen's refresh rate.
The browser's animation engine is synced with the screen's refresh rate — usually 60 Hz (60 fps) but increasingly 120 Hz or higher on modern displays. For each frame, all rendering must complete within the time budget: roughly 16.7 ms for 60 fps or 8.3 ms for 120 fps. If the animation takes longer, frames drop and the result looks hitchy.
Smooth animation relies on requestAnimationFrame to sync with screen refresh, GPU-accelerated transform properties (not position or top/left), and reduced complexity per frame. CSS animations and transitions are often faster than JavaScript-driven animation because the rendering engine can optimize them — JavaScript has more contention on the main thread.