Parallax is a technique from animation movies. The Disney studios refined the technique in the 1950s, however that’s way before the WWW was created.
Rellax
The Vanilla JavaScript Library is fun and easy to use. The CDN is:
<script src="https://cdn.jsdelivr.net/gh/dixonandmoe/rellax@master/rellax.min.js"></script>
Just add the CDN to the page in an HTML block, since we don’t want to use the library on each and every page:
Let’s try it:
I’m that default chill speed of “-2”
I’m super fast!!
I’m that default chill speed of “-2”
I’m super fast!!
I’m extra slow and smooth
Now let’s try this with some images: