Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jQuery(document).ready(function($) {
- $(window).scroll(function() {
- scrollTop = $(window).scrollTop();
- $('.block-project').css( 'background-position', 'center bottom ' + parseInt( (scrollTop / -2)) + 'px' );
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement