alumbo / jquery.parallax-scroll

Smooth parallax effect on vertical page scrolling
MIT License
285 stars 77 forks source link

Preserving Transform Properties #4

Open jamesarmenta opened 8 years ago

jamesarmenta commented 8 years ago

First off, just want to say that this is an excellent plug-in. Much smoother than most parallax effects.

I would like to know how it would be possible to preserve existing transform properties set in CSS (skew, for example), so that they are not over written with the parallax scroll plugin.

If you check the star example you can see that the stars are transformed via CSS styling until the page is scrolled and the plugin is triggered. At which point, the stars which were previously rotated are reset. Any ideas? Thanks!

Darkbluetest commented 5 years ago

Is this possible? I have tried several solution but no luck at all. It is a real pity as the code is really smooth light-weight and responsive (the best I know of). It would allow to start animation from a customized position/state, which is not possible at all currently, as far as I know, thus limiting its use. Thanks!