SimpleParallax

SimpleParallax is a small, simple, easy to use scrolling parallax library. It uses CSS3 transformations along with requestAnimationFrame to create buttery smooth animations, with zero dependencies. Get up and running in seconds.

This box can be created like this:

var parallax = new SimpleParallax({
  element: document.getElementById('center-screen'),
  speed: 2
});

Various options are supported:

var parallax = new SimpleParallax({
  element: document.getElementById('element'),
  speed: 0.5,
  offset: function() {
      return 20;
  }
});

Created by Chris Anselmo. View on Github.

Background by Ignasi Àvila Padró