Parallax

Dirt simple parallax scrolling effect implemented as a plugin.

ratio 0.2

ratio 0.4

ratio 0.6

ratio 0.8

ratio 1 (no parallax)

ratio -0.2

ratio -0.6

ratio -1

ratio 0 (stable picture)

Ratio 0.2

<div data-parallax="scroll"></div>

Ratio 0.6

<div data-parallax="scroll" data-speed="0.6"></div>

Ratio -0.2

<div data-parallax="scroll" data-speed="-0.2"></div>

Ratio -0.6

<div data-parallax="scroll" data-speed="-0.6"></div>

Stable picture

<div data-parallax="scroll" data-speed="0"></div>