如您所知,我们可以使用bootstrap引入的这种语法,在单击按钮时折叠div。
<button type="button" data-toggle="collapse" data-target="#myid">
<ul id="myid" class='collapse'>
但是,实际上它与Bootstrap版本3.2.0和Windows Mobile(IE11正确模拟)不起作用(它保持打开状态)
我该如何解决?
答案 0 :(得分:0)
足以添加这两行代码:
.collapse.in {
display: block;
}
.collapse {
display: none;
}