layering
-
a js and css file to build sliding layerings which
are depending of the window size.
<div id="layering">
<div class="layer" depth="0.5" style="bottom: 0px">
[content in depth 0.5]
</div>
<div class="layer" depth="0.8" style="bottom: 0px">
[content in depth 0.8]
</div>
</div>
- depth 1.0 = size of the text layer - on text layer
- depth 0.1 = 1/10 of the text layer - far away
- depth 2.0 = 2 of the text layer - near
uses: jquery, prefixfree. images: pokemons, background.