Hi everybody, I am in a problem of big image-background in css! How can I solve big image as background-image for different wide of window? Please help me.
background:url(images/img.jpg) no-repeat fixed 50% 50%;
background-size:cover;
}
ie9+
If you need wider support, you could try some jQuery, such as
http://buildinternet.com/project/supersized/3/core.html
http://srobbin.com/jquery-plugins/backstretch/
Another example of the CSS3 method mentioned by Paul is here:
http://www.alistapart.com/articles/supersize-that-background-please/