Javascript

Parallaxis

A tiny parallax library that updates styles on scroll

  • Plain old vanilla JS
  • Just 1.8kb gzipped


Be careful out there


Parallax works by listening to every scroll event. Now, that's not great, as it can really mess performance up.
Parallaxis allows only a few of the best performing element styles to be updated on scroll.

  • opacity
  • translateX
  • translateY
  • scale

Still, overuse may kill performance. Especially on low-end devices.