pixelcog / parallax.js

Simple parallax scrolling effect inspired by Spotify.com implemented as a jQuery plugin
MIT License
3.53k stars 840 forks source link

Can't disable default opacity adjustment on parallax #263

Closed emilianog94 closed 6 years ago

emilianog94 commented 6 years ago

Hi everyone.

I'm using parallax.js in an absolute positioned div that already has a parallax.js attribute.

By default, the div with the highest z-index will display at full opacity whereas the lower one will have lower opacity. I would like to see both at 100% opacity.

Is there any way to do so? Here's a basic codepen: https://codepen.io/emilianog94/pen/wjLboE

Fixed!