We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
You need
requestAnimationFrame
there , script is killing your page
see this https://gist.github.com/paulirish/1579671
add raf and do this instead
$(window).bind('scroll',function(e){ requestAnimationFrame ( parallaxImgScroll ); });
and in css
.parallax-img-container img{ -webkit-transform: translateZ(0); -webkit-transform: translate3d(0, 0, 0); -webkit-transform-style: preserve-3d; -webkit-perspective: 1000; -webkit-backface-visibility:hidden; }
than you will be able to get 60 FPS
The text was updated successfully, but these errors were encountered:
And if you do translate3d instead positions move, your script will be much faster and animations smoother
Sorry, something went wrong.
very good tip !!! will do this as soon as i have time to check this script again :D really appreciate it!
No branches or pull requests
You need
requestAnimationFrame
there , script is killing your page
see this https://gist.github.com/paulirish/1579671
add raf and do this instead
and in css
than you will be able to get 60 FPS
The text was updated successfully, but these errors were encountered: