Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

Some questions about parallax.js

Hello

I'm currently working on a schoolproject and our team would like to use some little parallax effects. We found this javascript library: parallax.js

It looks really promising and this could be just what we need, but we are struggling to use it correctly. I'll include a link to our design of our header below.

So we've got this Huge "B." which should just be static. But we got some elements like the square and triangle that should move a little whenever you move your mouse. We can add that effect to those elements but we can't position them to the bottom or right... I tried to play with the css a little but with no succes... also the documentation doesn't explain how to move one layer below the other and vice versa. I hope some of you can help me with this.

Link to the design of the header: https://www.mupload.nl/img/yt3ktc3ayxuii.09.10.png