【问题标题】:Bootstrap Reveal Footer Fixed not working on SafariBootstrap 显示页脚已修复在 Safari 上不起作用
【发布时间】:2017-10-04 23:24:44
【问题描述】:

我的底部粘滞页脚有问题。 它在所有浏览器上都可以正常工作,但在 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;
}

谢谢! ;)

【问题讨论】:

    标签: css safari footer fixed


    【解决方案1】:

    我已经解决了! 只需添加此代码... ;)

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

    还是谢谢。

    【讨论】:

      猜你喜欢
      • 2013-08-14
      • 1970-01-01
      • 1970-01-01
      • 2020-09-23
      • 1970-01-01
      • 2015-05-04
      • 2017-01-15
      • 1970-01-01
      • 2018-04-12
      相关资源
      最近更新 更多