Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Simple paralax effect using JQuery
$('.parallax').css('background-positionY', ($(window).scrollTop() * 0.3) + 'px');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment