css - Does Safari 5.1.10 and ios 7.1 support background-attachment:fixed? -


i have div set background fixed has content scrolls on it. clarify not entire page, div.

it works in chrome , firefox (latest versions) doesn't work in safari (desktop or ios). know using old safari desktop it's because computer doesn't support later versions :(

couldn't find resources on this, referring body.

please use below css style make background fixed , work in browser :)

.div_image{ background: url(images/bg.jpg) no-repeat center center fixed; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; }


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -