html,css,html5,css3,javascript,jquery blog there is queries with solution regarding the web designing
function parallax(){ var scrolled = $(window).scrollTop(); $('.bg').css('top', -(scrolled * 0.2) + 'px'); }
$(window).scroll(function(e){ parallax(); });
No comments:
Post a Comment