Bootstrap 显示页脚修复了在 Safari 上不工作的问题

Bootstrap Reveal Footer Fixed not working on Safari

我的底部粘性页脚有问题。 它在所有浏览器上都能正常工作,但在 Safari 上却不行……为什么?? :(

#main{
background-color: #f0f0f0;
box-shadow: 0px 20px 30px -20px rgba(0, 0, 0, 0.8);
z-index: 1;
position: relative;
margin-bottom: 250px;
}

footer {
height: 250px;
z-index: -100;
position: fixed;
bottom: 0px;
}

谢谢! ;)

我修好了! 只需添加此代码...;)

html, body{
min-height: 100%;
height: auto !important;
height: 100%;
}

谢谢。