解决IOS fixed定位问题
1、所有外层元素都使用fixed布局,如:
<header style="position:fixed"></header>
<article style="position:fixed"></article>
<footer style="position:fixed"></footer>
2、使用absolute定位,并使用javascript动态改变层的位置
3、在有输入框输入的时候,隐藏fixed层或设计为relative
声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
阅读量:74
阅读量:63
阅读量:93
阅读量:79
阅读量:74