Reputation: 213
I'm trying to do create a parallax effect on this webpage: http://therealrohanm.me/Falcon-Hacks-Website/
View the code here: https://github.com/Meeshbhoombah/Falcon-Hacks-Website/tree/gh-pages
I'm having a few issues, the first being the orange mountains (as pictured here: https://github.com/Meeshbhoombah/Falcon-Hacks-Website/blob/gh-pages/images/parallax-1.png) are not displaying. They are supposed to be directly behind the pink trees.
My second issue is that the trees are too "zoomed in." I want them to be able to see the entire line of trees/mountains.
The reason I combined these questions into one is that I feel like they're both related, but I'm unsure how to accomplish them. I've tried many different ways. How do I do these things?
Upvotes: 2
Views: 192
Reputation: 18744
you have an absolute position problem...
anyway setting left:initial ; right:200px
will get it on screen;
Upvotes: 1