Parallax

Parallax moves layers at different speeds as you scroll or move the pointer, so a flat scene appears to have depth.

Closer layers move more, distant layers less. Small offsets look rich; large ones make people feel seasick, so tone it down or turn it off for reduced motion.

Drive it with transforms only, from scroll position or pointer position, never with background-position or top.

See it live

Related terms