CSS background-image not working properly on android mobile

android, background-image, cover, css

Solution

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.

Problem

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?

Original source