[英]2 Questions - Responsive Design with Bootstrap & Fixed Arrow on the bottom of the page
我的网站是 kennylow.com。
我的 CSS 文件: https : //dl.dropboxusercontent.com/u/20432354/css/General.css我的 HTML 文件: https : //dl.dropboxusercontent.com/u/20432354/index.html
非常感谢!
肯尼 :)
您使用“绝对”定位并引用“顶部”属性,对于这样的事情,最好使用 position:fixed; 这是相对于视口的,所以它总是在屏幕的底部
display: block;
position: fixed;
bottom: 2em;
right: 2em;
z-index: 999;
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.