(1)横向滚动 left:0; right:0;横向滚动的话 overflow-x:scroll; overflow-y:hidden;
(2)竖直方向滚动 top:0; bottom:0; position:fixed; overflow-y:scroll; overflow-x:hidden;
(1)横向滚动 left:0; right:0;横向滚动的话 overflow-x:scroll; overflow-y:hidden;
(2)竖直方向滚动 top:0; bottom:0; position:fixed; overflow-y:scroll; overflow-x:hidden;
本文标题:父级position fixed后内容不滚动
本文链接:https://www.haomeiwen.com/subject/vaqfcqtx.html
网友评论