[英]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.