slick滑块在引导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 */
但是当我尝试运行它时,滑块工作得很好,但是箭头消失了,is滚动条x显示:S :S。
http://prntscr.com/82m34c
发布于 2016-08-05 08:25:52
尝尝这个
.tab-content > .tab-pane:not(.active),
.pill-content > .pill-pane:not(.active) {
display: block;
height: 0;
overflow-y: hidden;
}
发布于 2015-11-26 17:13:28
它为我工作,当我在bs3选项卡窗格中有两个光滑的滑块时,当我添加你的css代码时,我也遇到了同样的问题--这就是修复它。
如果你得到一个卷轴-试图改变溢出-y在溢出的两个维度,或只是取消该规则。
https://stackoverflow.com/questions/31905084
复制相似问题