Jparallax.js

a lightweight jQuery Plugin

Basics

<div class="parallax" speed="2">

The blob changes his position according to how far you scroll. Notice how the blob aligns to the top.

View on Codepen
1.5
2
3

Speed

Different speed values lead to different results.
(The number in the blobs tells their speed)

View on Codepen

Alignment

<div class="parallax p-center" speed="2">

When you add the class p-center, the blobs align to the middle of the screen.

View on Codepen
-3
-2
-1.5

Negative Values

<div class="parallax p-center" speed="-2">

While positive values make it look like "behind" the content, negative values make it look like it's in front of it.

View on Codepen