I am trying to implement a scroll parallax effect that is found at this site: www.rentberry.com. Go down to the “For Landlords” tab and you’ll see some images to the right of a paragraph that says Add Your Property. As you scroll down and then back up, you’ll notice that one of the layered images moves as you scroll, which seems to be a parallax effect. I found the JS code that they used, but have no idea how to implement it into my website.
This website uses the “du-parallax” attribute, and the code is found here: GitHub - oblador/angular-parallax: Lightweight & performant parallax scrolling for angular.js.. How do I add this effect to an image on my website, where scrolling down moves the image up, and scrolling up moves the image down? Thanks!