Fluid background image on browser resize

ADM picture ADM · Jun 17, 2011 · Viewed 17.5k times · Source

I want to achieve the fluid background image effect that you can see in this webpage: http://217.116.9.130/test2.html (taken from zara.com)

If you resize your browser to the left the woman in the image goes left with your resizing. I've taken the code from zara.com but I suspect the effect is done by a language I don't know.

Does anyone know and can give a clue (or hand me a link) on how to do it using jquery, css, ajax or php?

Thanks a lot

Answer

easwee picture easwee · Jun 17, 2011

You are probably looking for this: http://css-tricks.com/perfect-full-page-background-image/

It's quite simple to implement so no additional comments needed.