css - 带有 Bootstrap 的 IE Mobile 上的折叠错误

标签 css twitter-bootstrap windows-mobile

如您所知,我们可以使用这种由 bootstrap 引入的语法来在单击按钮时折叠 div。

<button type="button" data-toggle="collapse" data-target="#myid">
  <ul id="myid" class='collapse'>

但是,实际上它不适用于 Bootstrap 版本 3.2.0 和 Windows Mobile(IE11 正确模拟)

我该如何解决?

最佳答案

添加这两行代码就足够了:

.collapse.in {
    display: block;
}

.collapse {
    display: none;
}

关于css - 带有 Bootstrap 的 IE Mobile 上的折叠错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25018197/

相关文章:

Css/Pseudo element::before 在他的容器后面不起作用

css - 是位置 : fixed z-index relative to its parent's z-index?

html - 左键单击时 href 链接打不开

c# - 如何在 Windows Mobile 上解码 url 编码字符串?

jquery - 获取 ul 的当前事件类

css - 如何更改 asp.net DropDownList 的字体大小

twitter-bootstrap - 在 twitter boostrap 选项卡中使用 Cytoscape 渲染

javascript - Bootstrap 导航栏固定顶部和 body 填充顶部

c# - 在 Windows Mobile 应用程序中播放 YouTube 视频

windows-mobile - 有哪些技术可以解决 Windows 移动设备上非常间歇性的访问冲突问题?