Android/Mobile Webkit CSS Background-Attachment:Fixed Not Working?

a 夏天 提交于 2019-11-30 19:53:18

With native browser scrolling you cannot do that. It's a bug in the default Andriod browser. To implement a fixed element at the top or the bottom you have to apply position: fixed on it and then implement a custom scrolling on the other element which contains the content to scroll.

I used this Library for this kind of problems: http://cubiq.org/iscroll-4

You can find examples on its page.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!