将元素放置在浏览器窗口的固定位置,拖拽窗口时元素位置不变。
类似语法:
div{
position:fixed;
top:0px;
left:0px;
right:0px;
bottom:0px;
}
posted on 2019-05-28 20:30 surabbit 阅读(17491) 评论(0) 收藏 举报