【问题标题】:Bootstrap affix bottom overlay contentBootstrap 附加底部覆盖内容
【发布时间】:2015-05-08 12:27:19
【问题描述】:

我有以下 CSS:

#stopBtn{
            width : 100%;
            bottom: 0px;
        }

        .affix-bottom{
            position: absolute;
        }

这是javascript:

$("#stopBtn").affix({
                offset: { 
                    bottom: 0 
                }
            });

词缀效果运行流畅,但底部不是放在内容下方而是重叠内容。

它的标记如下:

<div class="row">
                    <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                        <!-- <div class="text-center"> -->
                            <div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
                            </div>  
                        <!-- </div> -->
                    </div>
                </div>
                <div class"tex-center" id="stopBtn">
                    <button class="btn btn-danger btn-mega stopButton">PAUSE</button> 
                </div>

【问题讨论】:

    标签: css twitter-bootstrap affix


    【解决方案1】:

    我解决了它,但在手风琴后面放了一些额外的空间。放入大约 4 个
    就可以了

    【讨论】:

      猜你喜欢
      • 2013-11-13
      • 2019-06-22
      • 2015-02-06
      • 2011-12-13
      • 1970-01-01
      • 2020-12-24
      • 2015-02-03
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多