光滑的滑块在bootstrap 3选项卡内容

时间:2015-08-09 14:05:03

标签: bootstrap-tabs

光滑的滑块在bootstrap 3选项卡内容中无法正常工作,我搜索了解决方案,但发现了这个

.tab-content > .tab-pane,
.pill-content > .pill-pane {
    display: block;     /* undo display:none          */
    height: 0;          /* height:0 is also invisible */ 
    overflow-y: hidden; /* no-overflow                */
}


.tab-content > .active,
.pill-content > .active {[![enter image description here][1]][1]
    height: auto;       /* let the content decide it  */
} /* bootstrap hack end */

但是当我尝试运行它时,滑块工作得很好但箭头消失了,滚动条-x显示为:S:S:S

http://prntscr.com/82m34c

2 个答案:

答案 0 :(得分:1)

试试这个



{{1}}




答案 1 :(得分:0)

它为我工作,当我在bs3选项卡窗格中有两个光滑的滑块时,我有同样的问题,当你添加你的css代码 - 那就解决了它

如果你得到一个滚动 - 尝试在两个维度上更改溢出溢出或只是忽略该规则