2
我目前使用this bit of code(根據我的需要)來創建一個自舉卡魯塞爾式。把滑動div放在一個固定的底部位置
我已經成功地將它放到了我的頁面底部,但我想使它成爲fixed
。
我認爲我只需要添加:
.block{
bottom: 0;
position: fixed;
}
例here。
這是不是要走的路?
我目前使用this bit of code(根據我的需要)來創建一個自舉卡魯塞爾式。把滑動div放在一個固定的底部位置
我已經成功地將它放到了我的頁面底部,但我想使它成爲fixed
。
我認爲我只需要添加:
.block{
bottom: 0;
position: fixed;
}
例here。
這是不是要走的路?
你想實現什麼? – Thinker
你應該修復'.box'而不是'.block' [Demo](https://jsfiddle.net/mirohristov/PJxV9/16/) - – Miro