摘要: 如果position:fixed 失效,那应该是你设置position的元素的父元素中有设置了transform属性哦 。 把 transform删除或设置为none就可以解决啦。 但是如果transform是必要的,不能删除,我们可以在此父级最外层再加一层元素专门用于定位,这样position:f 阅读全文
posted @ 2017-09-07 11:17 lilelile 阅读(469) 评论(0) 推荐(0) 编辑