1

I am using background-attachment:fixed for my phonegap application. It work on browser but not work on my android phone.

Nobody knows where is the problem?

Thanks in Advance.

Mohsen Alk
  • 31
  • 6

1 Answers1

1

It's a bug, I ended up using background-attachment: local and manually setting the background-position with -left px, -top px, then calculating the amount to scale width for background-size to match the parent's background

It looks great, but way too much computation and hacking for my taste

neaumusic
  • 10,027
  • 9
  • 55
  • 83
  • See -- http://stackoverflow.com/questions/40010761/css-transparent-glass-modal-everything-else-darkened/40100652#40100652 – neaumusic Oct 18 '16 at 18:15