This is the code I am using at the moment:
background: url(myimage.jpg) no-repeat center center fixed;
background-size:100% 100%!important;
background-position:0 0!important;
-webkit-background-size: cover;
-moz-background-size: cover;
background-size:cover;
background-attachment:scroll;
On android I browsed with Chrome. When I scroll down I want the background image to be static. Can I achieve this in some other way?
Unfortunately not, this seems to be a bug which Google has never fixed.
I personally dealt with exactly the same issue last week and ended up giving up on looking for a solution.
The bug submission
For the record, it is also not posible on Safari on iOS.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With