<div id="scene">
<div data-depth="0.2">My first Layer!</div>
<div data-depth="0.6">My second Layer!</div>
</div>
var scene = document.getElementById('scene');
var parallaxInstance = new Parallax(scene);
This Pen doesn't use any external CSS resources.