javascript - How do you make an image scroll partly? Halfway between position:fixed and position:absolute -
i want background image move up/down visitor scrolls, not scroll page. it's neither fixed screen nor scrolling rest of content. it's in between position:fixed , position:absolute.
example: http://www.madebyhangar.com/ see how says "we take pride in work , care" background image moves scroll not scroll.
i inspected page firebug , happens div
element using background-image
, background-position
style changed (via scroll event suppose). how effect works.
Comments
Post a Comment