Dan*_*man 30
将此栏的position属性设置为fixed,将其bottom和left坐标设置为0.设置一个高z-index,使其在给定时间显示在页面底部的任何其他内容的顶部.然后它将停留在浏览器窗口的底部.
#someidentifier {
position: fixed;
z-index: 100;
bottom: 0;
left: 0;
width: 100%;
}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
33114 次 |
| 最近记录: |