Parallax

Rellax is a buttery smooth, super lightweight vanilla javascript parallax library.

Usage

Add the class .parallax and data-rellax-speed to make a parallax object, where data-rellax-speed can be positve or negative number.

JavaScript

<!-- Vendor Javascripts -->
<script src="../assets/vendor/rellax/rellax.min.js"></script>

By deafult parallax effect is disabled on mobile, but you can enable by change $disable-parallax-on-mobile: true; in your variables.

For more Details see Rellax Documentation