maddie maddie - 3 months ago 13
CSS Question

desired effect using jquery/CSS

I am trying to get the effect of moving background image on a section like in below website.

Just about the footer when you scroll up and down the image behind "FIND A CHIPOTLE" scrolls and moves. I am not able to achieve the desired effect.
Please help.

Answer

You can do it using CSS:

background-attachment: fixed;