jquery - Fixed position background on iPad -


i have div background-size:cover , background-attachment:fixed. works fine except on ios.

#featured {     background:url(img/mountains.jpg) center bottom no-repeat fixed;     background-size:cover;     padding-bottom:65px; } 

the problem similar these questions: using background-attachment:fixed in safari on ipad fixed position background on ios

but not quite. every solution i've found fixed background on body tag. need fixed background within div in middle of dynamic page. setting fake div position:fixed isn't going work me.

is there way make fixed position background work on ios? need jquery?


Comments

Popular posts from this blog

php - render data via PDO::FETCH_FUNC vs loop -

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

The canvas has been tainted by cross-origin data in chrome only -