I am uising curtains.js from github asa a parallax effect but I want to change animation effect. When I am scrolling current element goes up but I want next elements to come above current does anyone have some ideas how to do that
Thanks
I am uising curtains.js from github asa a parallax effect but I want to change animation effect. When I am scrolling current element goes up but I want next elements to come above current does anyone have some ideas how to do that
Thanks
I'm guessing you are asking about how to position the different layers on top of each other?
If so you need to use z-index.
The z-index property specifies the stack order of an element.
An element with greater stack order is always in front of an element with a lower stack order.
Note: z-index only works on positioned elements (position:absolute, position:relative, or position:fixed).